]> git.pld-linux.org Git - packages/erlang.git/commitdiff
- SSL timeout handling bug fix, fixes problem with SSL support in ejabberd
authorJacek Konieczny <jajcus@pld-linux.org>
Wed, 1 Sep 2004 22:08:48 +0000 (22:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    erlang-ssl_timeout.patch -> 1.1

erlang-ssl_timeout.patch [new file with mode: 0644]

diff --git a/erlang-ssl_timeout.patch b/erlang-ssl_timeout.patch
new file mode 100644 (file)
index 0000000..a29ce5d
--- /dev/null
@@ -0,0 +1,14 @@
+Based on: http://article.gmane.org/gmane.comp.lang.erlang.patches/65
+
+diff -dur otp_src_R9C-2.orig/lib/ssl/src/ssl_broker.erl otp_src_R9C-2/lib/ssl/src/ssl_broker.erl
+--- otp_src_R9C-2.orig/lib/ssl/src/ssl_broker.erl      2003-07-07 14:33:00.000000000 +0200
++++ otp_src_R9C-2/lib/ssl/src/ssl_broker.erl   2004-09-01 23:24:48.706641023 +0200
+@@ -330,6 +330,8 @@
+           case gen_tcp:recv(St#st.proxysock, Length, Timeout) of
+               {ok, Data} ->
+                   {reply, {ok, Data}, St};
++              {error, timeout} ->
++                  {reply, {error, timeout}, St};
+               {error, Reason} ->
+                   {reply, {error, Reason}, St#st{status = closing}}
+           end
This page took 0.040919 seconds and 4 git commands to generate.