ftp.erl (2)
Martin Bjorklund
mbj@REDACTED
Mon Mar 20 00:08:38 CET 2006
Another patch - handle that the owning process terminates w/ reason
'shutdown', w/o reporting this as an error.
nassa ftp> diff -C2 ftp.erl /home/mbj/src/tailf-src/trunk/otp/lib/inets/src/ftp/ftp.erl
*** ftp.erl Wed Oct 12 17:17:36 2005
--- /home/mbj/src/tailf-src/trunk/otp/lib/inets/src/ftp/ftp.erl Mon Mar 20 00:05:45 2006
***************
*** 873,876 ****
--- 873,879 ----
handle_info({'DOWN', _Ref, _Type, _Process, normal}, State) ->
{stop, normal, State#state{client = undefined}};
+
+ handle_info({'DOWN', _Ref, _Type, _Process, shutdown}, State) ->
+ {stop, normal, State#state{client = undefined}};
handle_info({'DOWN', _Ref, _Type, _Process, timeout}, State) ->
/martin
More information about the erlang-patches
mailing list