]> git.pld-linux.org Git - packages/erlang.git/blob - erlang-ssl_timeout.patch
- updated to R10B-6
[packages/erlang.git] / erlang-ssl_timeout.patch
1 Based on: http://article.gmane.org/gmane.comp.lang.erlang.patches/65
2
3 diff -dur otp_src_R9C-2.orig/lib/ssl/src/ssl_broker.erl otp_src_R9C-2/lib/ssl/src/ssl_broker.erl
4 --- otp_src_R9C-2.orig/lib/ssl/src/ssl_broker.erl       2003-07-07 14:33:00.000000000 +0200
5 +++ otp_src_R9C-2/lib/ssl/src/ssl_broker.erl    2004-09-01 23:24:48.706641023 +0200
6 @@ -330,6 +330,8 @@
7             case gen_tcp:recv(St#st.proxysock, Length, Timeout) of
8                 {ok, Data} ->
9                     {reply, {ok, Data}, St};
10 +               {error, timeout} ->
11 +                   {reply, {error, timeout}, St};
12                 {error, Reason} ->
13                     {reply, {error, Reason}, St#st{status = closing}}
14             end
This page took 0.040548 seconds and 3 git commands to generate.