Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
0677-inets-Make-sure-headers-can-not-be-undefin...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0677-inets-Make-sure-headers-can-not-be-undefined.patch of Package erlang
From cfe4fef1d256512908b25e87ff623546b348ea55 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin <ingela@erlang.org> Date: Tue, 31 Jan 2023 16:28:22 +0100 Subject: [PATCH] inets: Make sure headers can not be undefined --- lib/inets/src/http_server/httpd_request_handler.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/inets/src/http_server/httpd_request_handler.erl b/lib/inets/src/http_server/httpd_request_handler.erl index 9163225035..259df730e5 100644 --- a/lib/inets/src/http_server/httpd_request_handler.erl +++ b/lib/inets/src/http_server/httpd_request_handler.erl @@ -33,7 +33,7 @@ terminate/2, code_change/3, format_status/2]). -include("httpd.hrl"). --include("http_internal.hrl"). +-include("../http_lib/http_internal.hrl"). -include_lib("kernel/include/logger.hrl"). -define(HANDSHAKE_TIMEOUT, 5000). @@ -46,7 +46,7 @@ response_sent = false :: boolean(), timeout, %% infinity | integer() > 0 timer :: 'undefined' | reference(), % Request timer - headers, %% #http_request_h{} + headers = #http_request_h{}, body, %% binary() data, %% The total data received in bits, checked after 10s byte_limit, %% Bit limit per second before kick out -- 2.35.3
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