Re: [squid-users] No http responce via local device

From: Stefan Ritter <mickymax_at_gmx.de>
Date: Wed, 19 Aug 2009 09:05:56 +0200

Hi Henrik,

indeed this solved the problem. Many thanks,
Stefan

-------- Original-Nachricht --------
> Datum: Wed, 05 Aug 2009 11:34:55 +0200
> Von: Henrik Nordstrom <henrik_at_henriknordstrom.net>
> An: mickymax_at_gmx.de
> CC: squid-users_at_squid-cache.org
> Betreff: Re: [squid-users] No http responce via local device

> ons 2009-08-05 klockan 09:35 +0200 skrev mickymax_at_gmx.de:
>
> > since squid3S12, I can see a behaviour I quite don't understand. I am
> using squid as reverse proxy with http_access allow all, listening on port
> 80.
> >
> > A request like
> > echo -e "GET http://<some_url> HTTP/1.0\n\n" | netcat <squid_ip> 80
> >
> > simply returns nothing, done locally on the squid server. Not even an
> error message.
> > The same request from a different server returns valid content.
>
> Apart from the issue mentioned by Amos another possibility is the
> version of netcat used. There is many versions of netcat out there with
> different behavior when seeing "end-of-file" in stdin. Your pipe to
> netcat ends as soon as the echo have been sent, which is a little too
> early if you also want Squid to act on the request and send back a
> response..
>
> Try this:
>
> ( echo -e "GET http://<some_url> HTTP/1.0\n\n" ; sleep 30 ) | netcat
> <squid_ip> 80
>
> Regards
> Henrik

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
Received on Wed Aug 19 2009 - 07:06:13 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 19 2009 - 12:00:04 MDT