Hi all,
I noticed that another online game also gives similar error. the tcpdump
at pc shows that the request only consist of a single line:
> GET /renewal/version6
According to rfc1945 (http://www.w3.org/Protocols/rfc1945/rfc1945), this
is considered as Simple-Request under Http/0.9.
Does squid support this kind of request?
As highlighted by Robert, there is no Host specified in the request,
causing squid unable to process it. However, under Http/1.0, it is not a
must to use the absolute URI or to include Host in the request.
The absense of host information will cause proxy/transparent proxy to
break. Fortunely, most browsers will include the Host header, even for
Http/1.0 request.
So, how to we convince the online games developers to include Host header
or to use absolute URI in their custom-made clients?
Thanks,
Wei Keong
On 21 Nov 2002, Robert Collins wrote:
> On Thu, 2002-11-21 at 02:29, Wei Keong wrote:
> > I encountered error 503 (ERR_CONNECT_FAIL 111) when our users tried to
> > play an online game that uses the following request to download patch file.
> >
> > POST /games/PSW/ENB/12800-BETA2 HTTP/1.0\r\n
> > User-Agent: PSW_EARTHANDBEYOND\r\n
> > Connection: Keep-Alive\r\n
> > Content-lentgh: 191\r\n
> > Pragma: no-cache\r\n
> > Content-type: application/marimba\r\n
> > Request-type: update/13\r\n
> > \r\n
> >
> > Request-type does not seems to be part of HTTP/1.0 protocol. Can squid
> > handle this request properly?
>
> Yes, squid handles extra headers ok. However, there is no host specified
> in that request, so squid won't know where to send it.
>
> Rob
>
>
>
Received on Sun Nov 24 2002 - 23:45:41 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:33 MST