Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0899-inets-Initiate-http-headers-to-empty-heade...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0899-inets-Initiate-http-headers-to-empty-header-record.patch of Package erlang
From d25f3253366053d9cc870a6f8604b985407ac5fa Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin <ingela@erlang.org> Date: Thu, 27 Jan 2022 17:48:26 +0100 Subject: [PATCH] inets: Initiate http headers to "empty" header record --- lib/inets/src/http_server/httpd_request_handler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/inets/src/http_server/httpd_request_handler.erl b/lib/inets/src/http_server/httpd_request_handler.erl index 9c5544ff10..0c9ee5186b 100644 --- a/lib/inets/src/http_server/httpd_request_handler.erl +++ b/lib/inets/src/http_server/httpd_request_handler.erl @@ -656,7 +656,7 @@ handle_next_request(#state{mod = #mod{connection = true} = ModData, TmpState = State#state{mod = NewModData, mfa = MFA, max_keep_alive_request = decrease(Max), - headers = undefined, + headers = #http_request_h{}, body = undefined, chunk = chunk_start(MaxChunk), response_sent = false}, -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor