Search squid archive

Re: When connection closed when trying connect some urls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/26/20 10:40 AM, Ben Goz wrote:
> I saw that this question was asked several times, but I didn't get an
> answer that solves the problem.

> This is the squidclient prompet I get:
> x@x:~$ squidclient -v https://discountbank.co.il
> Request:
> GET https://discountbank.co.il HTTP/1.0
> Host: discountbank.co.il <http://discountbank.co.il>
> User-Agent: squidclient/3.5.27
> Accept: */*
> Connection: close

I am not sure what the actual question here is, but, AFAICT, squidclient
never submits more than one HTTP request and, hence, squidclient always
closes the connection after the first transaction.

You can control the value of the HTTP Connection header sent by
squidclient using the -k command line option. Again, regardless of that
option, squidclient will naturally close the connection after receiving
the response. My guess is that the command line option was added for
(Squid) testing purposes; it has no practical use beyond that very
limited scope.


HTH,

Alex.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux