a question about persistent mode in http

if in keep-alive mode, in the server side, how can i recongize a persistent connection 
is shut down, and free the preserved resources of it? from the appearence of http 
request and response, there seems on obvious steps to tell the server an persistent 
connection will be terminated. and in the client side, i also can't find any 
configuration about whether to choose keep-alive mode. then how the browser knows if i 
want a persistent mode?

another question is: now, which web servers and browsers support persistent mode? i 
wish there are some open source products i can refer to.

so many questions, thanks in advance.



-----原始消息------
从:    "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 代表       
 "Arun Venkataraman" <[EMAIL PROTECTED]>
发送:  2000年8月25日 1:03
收件人:        "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
抄送:  "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
主题:  Re: using ssl in http protocol


-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, August 24, 2000 6:53 AM
Subject: using ssl in http protocol

>one question:
>http is a connectionless protocol(at least 1.0 is, and i don't know if
there are some implementations of http1.1). if we want to use ssl in http to
acquire secure connection, then, does it means we have to take the full
handshake for each connection(each request and reply)? if not, how they
implemented it then? are there some little source examples here(both client
and server)?


>Du Chunyan


[Moved to openssl-users]

If what you mean by a "connectionless" protocol is that there is no
mechanism for persistent connections, that is incorrect. HTTP/1.0 does
support persistent connections (using the Connection: Keep-Alive header) and
HTTP/1.1 does it by default.

Hence, if you are communicating to the same HTTPS server, upon a keep-alive
request, the server in most cases will oblige that request and keep the
connection open. However, that is the prerogative of the server.

Arun.
"If you torture data long enough, it will admit anything you want.."


****************************************************************
This message is for the named person(s) use only.  It may contain
confidential, proprietary or legally privileged information.  No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender.  You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. SPEEDERA NETWORKS, INC. reserves the right to
monitor all e-mail communications through its network.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

想拥有一份只属于自己的简历助理吗?请赶快登陆搜狐求职助理!http://career.sohu.com/index.html


搜狐:http://www.sohu.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to