This patch:
[1] fixes no-delay in a sensible way (associates no-delay as a property of
the server file descriptor, uses one global fd_set to store the info)
[2] adds the small feature I posted earlier - choosing if ident lookup should
be done by simple ACL
[3] fixes a small buglet - didn't delete "auth_modules/dummy" in a "make
distclean"
[4] gets rid of the delay_id in the request_t, instead passing it as an
option to sslStart and pumpInit, and in other places just getting it from
the client http state
[5] sets the delay_id to 0 for urn's (it doesn't look like it worked anyway,
maybe this needs fixing)
[6] changes a storeClientListAdd to an assert() that the client is already
there in clientProcessExpired() - this looks like a valid assumption to
me and makes things nice and simple for the delay code there
It's untested beyond the fact that it compiles and that I've read the patch
a few times looking for potential errors. The ident acl bit is tested and
in serious use.
Users of 2.x DELAY_POOLS who want no_delay to work - please test.
People who want ident lookups determined by acl - please test.
The change in [6] should generate an assertion failure pretty quick if
it's wrong.
David.
begin 644 squid-diff-2.gz
M'XL(""XI;38"`W-Q=6ED+61I9F8M,@#M.VEWXT:.G^U?4?%F.I)U6-1A2W*Z
MM]6R''M'/D9ROR2SF<='BR6)8XI4>+3;2?J_+X"J(HL4):MG\O;MAW4Z-@\4
M"@6@<!5H._,YJP4Q"W^-';O6K!OU^\'#\,HX65E/?.ZXO.YX&R_K'X=3'>"P
M5JOMQ'`PM2(VY6MF]%CCM-\ZZW>:<-WK'E8JE5?1'SS$G%WP&6-=UFSTFZU^
MJR-&OW_/:JVSZAFKT._W[P^9Y:[\,)JYW/+ZC/X<LH-@Q6IS-O.]N;.HN_Z"
M*>S).\>;N;'-3]96M`SKR^3>BB,?QVF/))KE84V.!9BEN?+MV.7AR>UP.CBY
M4>@KKX)D7]GQ:O4"1+V?^P&SG0`F9=^6IA\_7%Q/IF5<010XC^?,]MDO`';`
M9TN?`2K'6P"X7#<-^A9&GPN@TLQ6]]^6;@9_'97Q[^5X\`.@7`=`QN>W1]^6
MQ%7Y*$541@3V5A4)@]G)512M)_S7F(=1?58LR0VP8G79`#NX#!PVB!?,:#/C
MK-]L]EO&*TJSB4-7':,/_SJ-5'7:G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