[squid-users] GET/PUT Question

From: OTR Comm <[email protected]>
Date: Fri, 01 Oct 2004 10:05:54 -0700

Hello,

Could someone tell me how squid recognizes the end of a GET sequence? I
assume the end of a PUT session is similar?

For example, when squid sends a GET request for a specific html page,
the answering server sends the requested data, but how does squid know
when the data transmission stream for that particular page has ended?

To keep it simple, lets suppose that the requested page doesn't have any
graphics, so we just have one GET from squid.

What I am doing is working with Jon Kay's pushcache version of
Squid2.5. Currently to get squid to cache a single file that I push, I
have to terminate the file with '\r\n\n', but this appears to close the
socket after the file is pushed. I believe what I need to do is mimic
the GET process, and deliminate in-stream for each file. Then close the
socket at the end of the push session. Does this make sense?

Anyway, I hope someone can help here!

Thanks,
Murrah Boswell
Received on Fri Oct 01 2004 - 11:04:21 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:01 MST