diff options
author | Micael Karlberg <[email protected]> | 2012-01-05 12:35:40 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2012-01-05 12:35:40 +0100 |
commit | b1d6a39529229a98ce57f2121cbe080702e82adc (patch) | |
tree | 0ee418b0af3052590a893247888b1dc3cadc197e /lib/inets/src/http_client/httpc_internal.hrl | |
parent | be7a927e000c0b772fefa43343b7a14d9070d871 (diff) | |
parent | 5edcd0d6372d73124e4160a2bbc5b81853642fc5 (diff) | |
download | otp-b1d6a39529229a98ce57f2121cbe080702e82adc.tar.gz otp-b1d6a39529229a98ce57f2121cbe080702e82adc.tar.bz2 otp-b1d6a39529229a98ce57f2121cbe080702e82adc.zip |
Merge branch 'bmk/inets/httpc/bad_keep_alive_mode/r14/OTP-9847' into bmk/inets/inets573_integration
Conflicts:
lib/inets/doc/src/notes.xml
lib/inets/src/inets_app/inets.appup.src
Diffstat (limited to 'lib/inets/src/http_client/httpc_internal.hrl')
-rw-r--r-- | lib/inets/src/http_client/httpc_internal.hrl | 36 |
1 files changed, 28 insertions, 8 deletions
diff --git a/lib/inets/src/http_client/httpc_internal.hrl b/lib/inets/src/http_client/httpc_internal.hrl index 1d8a5b6a92..3261061d61 100644 --- a/lib/inets/src/http_client/httpc_internal.hrl +++ b/lib/inets/src/http_client/httpc_internal.hrl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2005-2010. All Rights Reserved. +%% Copyright Ericsson AB 2005-2012. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -112,17 +112,37 @@ } ). + -record(session, { - id, % {{Host, Port}, HandlerPid} - client_close, % true | false - scheme, % http (HTTP/TCP) | https (HTTP/SSL/TCP) - socket, % Open socket, used by connection - socket_type, % socket-type, used by connection - queue_length = 1, % Current length of pipeline or keep-alive queue - type % pipeline | keep_alive (wait for response before sending new request) + %% {{Host, Port}, HandlerPid} + id, + + %% true | false + client_close, + + %% http (HTTP/TCP) | https (HTTP/SSL/TCP) + scheme, + + %% Open socket, used by connection + socket, + + %% socket-type, used by connection + socket_type, + + %% Current length of pipeline or keep-alive queue + queue_length = 1, + + %% pipeline | keep_alive (wait for response before sending new request) + type, + + %% true | false + %% This will be true, when a response has been received for + %% the first request. See type above. + available = false }). + -record(http_cookie, { domain, |