Re: Backend polling not working

2009-10-21 Thread Poul-Henning Kamp
In message <4aded57c.3020...@upfrontsystems.co.za>, Izak Burger writes:
>Hello again,
>
>I've discussed this issue on zope-dev. The agreement seems to be that 
>there is some ambiguity in the HTTP1.1 specification, but that the 
>general accepted interpretation is that if the other end closes the 
>connection you should close your end as well (it signals a timeout).
>
>There is also no browser implementation out there that does half-closing 
>(except where SSL is involved). None that I know of anyway.

I wasn't quite sure which way to interpret the text originally so
I did it the way that was most convenient for the code.

I'll change it.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
p...@freebsd.org | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev


Re: Backend polling not working

2009-10-21 Thread Izak Burger
Hello again,

I've discussed this issue on zope-dev. The agreement seems to be that 
there is some ambiguity in the HTTP1.1 specification, but that the 
general accepted interpretation is that if the other end closes the 
connection you should close your end as well (it signals a timeout).

There is also no browser implementation out there that does half-closing 
(except where SSL is involved). None that I know of anyway.

https://mail.zope.org/pipermail/zope-dev/2009-October/038133.html

This also affects nginx.

I would therefore like to submit a wishlist item to make this 
configurable. I've already hacked the offending shutdown() call out of 
the code to test, and it works perfectly with zope once you do that.

If there are no objections, can I go ahead and log this as a 
wish/feature request on the bugtracker?

regards,
Izak
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev


Saintmode in 2.0

2009-10-21 Thread Kristian Lyngstol
Revisions: 4208 4328 4335

Should be included in 2.0. The latter two adds a paramter which controls
how long the saintmode list has to be until the backend is considered sick,
and it also makes it possible to disable saintmode handling entirely. The
first is beresp.saintmode, which I suppose you have to rename, but
otherwise it should apply with very little hassle.

In addition, I have a patch awaiting PHK-approval to add
saintmode_threshold to the backend declaration too, which should probably
be included too when it's accepted.

-- 
Kristian Lyngstøl
Redpill Linpro AS
Tlf: +47 21544179
Mob: +47 99014497


pgp19oOztMNPB.pgp
Description: PGP signature
___
varnish-dev mailing list
varnish-dev@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-dev