13.08.2009, в 4:42, Ian Hickson написал(а):
A note explaining that the close event will be dispatched at server'sdiscretion (or on subsequent connection timeout), potentially long timeafter close() is called, would likely make the intention clearer.It won't be long after the close().
Why not? My understanding is that it can take arbitrary amount of time - the server can choose not to close its side of connection for years, and to send data over it.
- WBR, Alexey Proskuryakov