Blocking close()
Opened 9 years ago
Last modified 8 years ago
#629testingdefect
Blocking close()
Reported by:zzzOwned by: Priority: minor Milestone: 0.9.9 Component: streaming Version: 0.8.13 Keywords:
Cc: Zlatin Balevsky Parent Tickets:
Sensitive: no
Description
MessageOutputStream?.close() and thus I2PSocketFull.close() is blocking. This is like SO_LINGER by default?
This is not standard socket behavior and isn't well-documented. Should it be changed and should we add setSoLinger() support? What would break if we changed it? Do we change flush() also? See comments in MessageOutputStream?.close(). If we don't change it, enhance the javadocs and website docs.