summaryrefslogtreecommitdiff
path: root/lang/erlang14
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2007-02-15 20:56:21 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2007-02-15 20:56:21 +0000
commit2bf5249dbc82efc9ffad47e7eb8230be8c1f7d16 (patch)
treea029cfe0b40e097fd14b8233cc2d77509062b6d8 /lang/erlang14
parent- Added a note for users of www/py-turbogears (diff)
Fix http:request error.
Obtained from: Ingela Anderton Andin <ingela(at)erix.ericsson.se>
Notes
Notes: svn path=/head/; revision=185256
Diffstat (limited to 'lang/erlang14')
-rw-r--r--lang/erlang14/files/patch-lib_inets_src_http__client_httpc__handler.erl23
1 files changed, 23 insertions, 0 deletions
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