diff options
author | Micael Karlberg <[email protected]> | 2012-01-23 14:10:54 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2012-01-23 14:10:54 +0100 |
commit | d01767b8145982659bb24cd101ec097a9566e4b4 (patch) | |
tree | 72000239d903e3da2ac1bbb96127e18dd36777fd /lib/inets/src/http_client/httpc_internal.hrl | |
parent | 87f506ebc6d0caca687b5cd67a844db2a8f8f7b1 (diff) | |
parent | 7e6ac31a0c918f42e747628db8fec610f5bd424c (diff) | |
download | otp-d01767b8145982659bb24cd101ec097a9566e4b4.tar.gz otp-d01767b8145982659bb24cd101ec097a9566e4b4.tar.bz2 otp-d01767b8145982659bb24cd101ec097a9566e4b4.zip |
Merge branch 'maint'
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 1fbbaa8d13..8af752546c 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-2011. 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 @@ -115,17 +115,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, |