Hacker News new | past | comments | ask | show | jobs | submit login

> SO_LINGER. Lingers on close if data is present. If this option is enabled and there is unsent data present when close() is called, the calling application program is blocked during the close() call, until the data is transmitted or the connection has timed out.

I had to look this one up for a refresher, but 100% violently agree - Such behavior certainly warrants a bug submission.




The obnoxious thing about CLOSE_WAIT is that it's supposed to time out after 2 minutes or 10 minutes, but I gave up and kicked the box out of the cluster after a half hour of trying to ask it nicely. Which is probably what everyone else does.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: