I2P

Invisible Internet Project


Ticket #629 (new defect)

Opened 13 months ago

Last modified 3 weeks ago

Blocking close()

Reported by: zzz Owned by:
Priority: minor Milestone:
Component: streaming Version: 0.8.13
Keywords: Cc:

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.

Change History

Changed 3 weeks ago by str4d

  • milestone 0.9.3 deleted
Note: See TracTickets for help on using tickets.