[Bug 63666] Should take the OS buffers into account when timing lingering

2019-08-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63666 --- Comment #2 from Sjoerd Simons --- Unsure how to get those statistics in a good way. I'm not fully aware of which DOS it's protecting against (I assume leaving orphaned connection open in FIN-WAIT-2?). However a DOS that can trigger this

[Bug 63666] Should take the OS buffers into account when timing lingering

2019-08-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63666 --- 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