[Standards] Idle sreams in RFCbis
artur.hefczyc at tigase.org
Mon May 25 10:26:05 UTC 2009
> I would like to provide feedback on these two sections:
> 5.7.3. Handling of Idle Streams
> 12.7. Whitespace
> In 5.7.3, it says:
> "The typical method for detecting an idle TCP connection is to send
> a space
> character (U+0020) over the TCP connection between XML stanzas,
> which is
> allowed for XML streams as described under Section 12.7 (Whitespace)."
> Strictly speaking:
> - the sending entity does not detect the loss of connection when it
I think you are not right here. From my experience the sending entity
detect connection loss not the receiving.
This is because sometimes TCP/IP doesn't get notified of simple
loss if there is no data transmission over the link.
Only when you attempt to send some data, even a single character, the
stack tries to deliver it to the destination address. Of course if the
is broken, the attempt fails and an error is returned to sending
More information about the Standards