Sfoglia il codice sorgente

- fix crash when requesting to close a stream connection.

pull/22/head
jlo 14 anni fa
parent
commit
5344ea2a1a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/ibrowse_http_client.erl

+ 1
- 1
src/ibrowse_http_client.erl Vedi File

@ -197,7 +197,7 @@ handle_info({stream_close, _Req_id}, State) ->
shutting_down(State),
do_close(State),
do_error_reply(State, closing_on_request),
{stop, normal, ok, State};
{stop, normal, State};
handle_info({tcp_closed, _Sock}, State) ->
do_trace("TCP connection closed by peer!~n", []),

Caricamento…
Annulla
Salva