--- Comment #1 from Joe Orton <> ---
Interesting problem.

Is there a portable way to determine the length of the TCP send queue? 
Apparently the ioctl TIOCOUTQ might do it for (some?) Unix, tho we've got no
experience with using that in APR/httpd.

Even if we can determine that length, I'm not sure what the right logic would
be here.  The existence of a non-zero send queue is not sufficient to delay the
lingering close, since that's indistinguishable from a DoS which this is
supposed to protect against.  Maybe a *decreasing* length send queue would be
sufficient, but possibly we'd need some heuristic on how fast it should to
decrease to keep the socket open.

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to