aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-04-27 11:10:55 +0200
committerIngela Anderton Andin <[email protected]>2018-04-27 11:10:55 +0200
commit85756d20f0e888210fdddc5f8ebed6e84d2b37d6 (patch)
tree213409c1f78557bf8de8e46acc8169e9b359dad8 /lib/inets
parent82ac72abf72c25fb092486e50ddac700bec17341 (diff)
parent16ae8f29bce19690bc3dfcb0838c402f150ee5c1 (diff)
downloadotp-85756d20f0e888210fdddc5f8ebed6e84d2b37d6.tar.gz
otp-85756d20f0e888210fdddc5f8ebed6e84d2b37d6.tar.bz2
otp-85756d20f0e888210fdddc5f8ebed6e84d2b37d6.zip
Merge branch 'ingela/inets/httpc-error-handling/ERL-605/OTP-15042'
* ingela/inets/httpc-error-handling/ERL-605/OTP-15042: inets: Improve httpc gracefulness
Diffstat (limited to 'lib/inets')
-rw-r--r--lib/inets/src/http_client/httpc_handler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/http_client/httpc_handler.erl b/lib/inets/src/http_client/httpc_handler.erl
index eeb08ce0ee..c9763507d1 100644
--- a/lib/inets/src/http_client/httpc_handler.erl
+++ b/lib/inets/src/http_client/httpc_handler.erl
@@ -839,7 +839,7 @@ connect_and_send_first_request(Address, Request, #state{options = Options0} = St
self() ! {init_error, error_sending,
httpc_response:error(Request, Reason)},
{ok, State#state{request = Request,
- session = #session{socket = Socket}}}
+ session = Session}}
end;
{error, Reason} ->
self() ! {init_error, error_connecting,