[squid-dev] [PATCH] Do not make bogus recvmsg calls
Alex Rousskov
rousskov at measurement-factory.com
Wed Jun 15 15:45:30 UTC 2016
On 06/09/2016 08:09 PM, Amos Jeffries wrote:
> On 10/06/2016 12:20 p.m., Alex Rousskov wrote:
>> The attached simple patch prevents bogus recvmsg(2) calls when
>> closing file descriptors. Please see the patch preamble for details.
> +1. Looks okay for now.
Committed to trunk (r14714).
> Its relation to RST implies UDP sockets are also doing useless reads.
> IIRC there is a difference between client and server TCP sockets RST
> behaviour as well. So this probably needs a full re-analysis to get right.
Agreed.
Thank you,
Alex.
More information about the squid-dev
mailing list