diff options
author | olgeni <olgeni@FreeBSD.org> | 2004-03-11 19:52:24 +0000 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2004-03-11 19:52:24 +0000 |
commit | a8cafdd62074ef1967a2c5c995dde8932faba11e (patch) | |
tree | 818d9fd4996a55aa8a7e7c0538e4b31a68e2a3af /lang/erlang14 | |
parent | b655f165fef6f10c885fcccd2efa62c9a5e522f8 (diff) | |
download | FreeBSD-ports-a8cafdd62074ef1967a2c5c995dde8932faba11e.zip FreeBSD-ports-a8cafdd62074ef1967a2c5c995dde8932faba11e.tar.gz |
Do not close a SSL connection when a finite timeout is specified and
triggered (also fixes ejabberd).
Submitted by: demon
Obtained from: Alexey Shchepin
Diffstat (limited to 'lang/erlang14')
-rw-r--r-- | lang/erlang14/Makefile | 2 | ||||
-rw-r--r-- | lang/erlang14/files/patch-lib_ssl_src_ssl__broker.erl | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile index 5b1b3e7..52e7fca 100644 --- a/lang/erlang14/Makefile +++ b/lang/erlang14/Makefile @@ -7,7 +7,7 @@ PORTNAME= erlang PORTVERSION= r9c0 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= lang MASTER_SITES= ftp://ftp.erlang.org/pub/download/ \ diff --git a/lang/erlang14/files/patch-lib_ssl_src_ssl__broker.erl b/lang/erlang14/files/patch-lib_ssl_src_ssl__broker.erl new file mode 100644 index 0000000..e91c911 --- /dev/null +++ b/lang/erlang14/files/patch-lib_ssl_src_ssl__broker.erl @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- lib/ssl/src/ssl_broker.erl.orig Thu Mar 11 17:58:12 2004 ++++ lib/ssl/src/ssl_broker.erl Thu Mar 11 18:00:07 2004 +@@ -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 |