aboutsummaryrefslogtreecommitdiffstats
path: root/lang/erlang
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2007-02-16 04:56:21 +0800
committerolgeni <olgeni@FreeBSD.org>2007-02-16 04:56:21 +0800
commit5ba3e9ed9d8e7cf4d777fc34f6c3585fa8717b43 (patch)
tree4d03e7a9b8b104f85dbdb328ae12f7af45e63cea /lang/erlang
parentdb23a8e18add7102045b759c32cee55caa55013b (diff)
downloadfreebsd-ports-gnome-5ba3e9ed9d8e7cf4d777fc34f6c3585fa8717b43.tar.gz
freebsd-ports-gnome-5ba3e9ed9d8e7cf4d777fc34f6c3585fa8717b43.tar.zst
freebsd-ports-gnome-5ba3e9ed9d8e7cf4d777fc34f6c3585fa8717b43.zip
Fix http:request error.
Obtained from: Ingela Anderton Andin <ingela(at)erix.ericsson.se>
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/files/patch-lib_inets_src_http__client_httpc__handler.erl23
1 files changed, 23 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