Squid and HTTP/1.0

From: Avi Saxena <asaxena@dont-contact.us>
Date: Mon, 19 Jun 2000 17:04:16 -0500

Looking through squid code I see that squid forces all responses to be
HTTP/1.0.
///// Code fragment.....
static HttpReply *
clientBuildReply(clientHttpRequest * http, const char *buf, size_t size,
BlockedRequest *pBlockedRequest)
{

    HttpReply *rep = httpReplyCreate();

    if (httpReplyParse(rep, buf))
        {
                /* enforce 1.0 reply version */
                rep->sline.version = 1.0;
/////////////////

Why does Squid do this? What is the benefit of overriding the web servers
HTTP/1.1 status?
It appears this will cause the client to break the persistent connection
each time.

        
Received on Mon Jun 19 2000 - 16:13:25 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:06 MST