diff options
-rw-r--r-- | lang/erlang/files/patch-lib_inets_src_http__client_httpc__handler.erl | 23 | ||||
-rw-r--r-- | lang/erlang14/files/patch-lib_inets_src_http__client_httpc__handler.erl | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/lang/erlang/files/patch-lib_inets_src_http__client_httpc__handler.erl b/lang/erlang/files/patch-lib_inets_src_http__client_httpc__handler.erl new file mode 100644 index 000000000000..a1bccaee7e56 --- /dev/null +++ b/lang/erlang/files/patch-lib_inets_src_http__client_httpc__handler.erl @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- lib/inets/src/http_client/httpc_handler.erl.orig ++++ lib/inets/src/http_client/httpc_handler.erl +@@ -186,7 +186,7 @@ + case State#state.request of + #request{} -> %% Old request no yet finished + %% Make sure to use the new value of timers in state +- Timers = NewState#state.timers, ++ NewTimers = NewState#state.timers, + NewPipeline = queue:in(Request, State#state.pipeline), + NewSession = + Session#tcp_session{pipeline_length = +@@ -196,7 +196,7 @@ + httpc_manager:insert_session(NewSession), + {reply, ok, State#state{pipeline = NewPipeline, + session = NewSession, +- timers = Timers}}; ++ timers = NewTimers}}; + undefined -> + %% Note: tcp-message reciving has already been + %% activated by handle_pipeline/2. Also diff --git a/lang/erlang14/files/patch-lib_inets_src_http__client_httpc__handler.erl b/lang/erlang14/files/patch-lib_inets_src_http__client_httpc__handler.erl new file mode 100644 index 000000000000..a1bccaee7e56 --- /dev/null +++ b/lang/erlang14/files/patch-lib_inets_src_http__client_httpc__handler.erl @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- lib/inets/src/http_client/httpc_handler.erl.orig ++++ lib/inets/src/http_client/httpc_handler.erl +@@ -186,7 +186,7 @@ + case State#state.request of + #request{} -> %% Old request no yet finished + %% Make sure to use the new value of timers in state +- Timers = NewState#state.timers, ++ NewTimers = NewState#state.timers, + NewPipeline = queue:in(Request, State#state.pipeline), + NewSession = + Session#tcp_session{pipeline_length = +@@ -196,7 +196,7 @@ + httpc_manager:insert_session(NewSession), + {reply, ok, State#state{pipeline = NewPipeline, + session = NewSession, +- timers = Timers}}; ++ timers = NewTimers}}; + undefined -> + %% Note: tcp-message reciving has already been + %% activated by handle_pipeline/2. Also |