-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, August 24, 2000 6:50 PM
Subject: re: using ssl in http protocol
>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.
You need to get familiar with the basics of HTTP. rfc 2068 is the ultimate
authority in this regard.
What happens is that the client submits a request say:
GET /index.html HTTP/1.0. This will cause the server to terminate the
connection after the request has been satisfied.
If the client says:
GET /index.html HTTP/1.0
Connection: Keep-Alive
this indicates to the server that the connection needs to be kept-alive. It
may then respond with a header that says it accepted the request. This
header is something like this:
HTTP/1.1 200 OK
Connection: Keep-Alive.
This indicates that the server has agreed to keep the connection alive.
However, the connection may be disconnected after a certain period of time
(a "timeout"). Note that a read/write on a closed connection will result in
an error message that indicates the connection has been closed.
HTH,
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]