[erlang-patches] patch to fix typo in inets HTTP client
Matthias Lang
matthias@REDACTED
Fri May 1 22:43:18 CEST 2009
I used to think backwards compatibility had such a high priority that
this sort of patch had no chance at all, but then I saw
http://erlang.org/pipermail/erlang-questions/2008-January/032505.html
and got thinking.
Matt
--- otp_src_R13B/lib/inets/src/http_client/httpc_handler.erl 2009-03-12 13:31:08.000000000 +0100
+++ otp_src_R13B_matthias/lib/inets/src/http_client/httpc_handler.erl 2009-05-01 22:31:30.681507485 +0200
@@ -412,9 +412,9 @@
%%% Error cases
handle_info({tcp_closed, _}, State) ->
- {stop, session_remotly_closed, State};
+ {stop, session_remotely_closed, State};
handle_info({ssl_closed, _}, State) ->
- {stop, session_remotly_closed, State};
+ {stop, session_remotely_closed, State};
handle_info({tcp_error, _, _} = Reason, State) ->
{stop, Reason, State};
handle_info({ssl_error, _, _} = Reason, State) ->
More information about the erlang-patches
mailing list