[Standards-JIG] Re: Closing idle streams (server comparison chart)
m at tthias.eu
Wed May 31 19:59:42 UTC 2006
Carlo v. Loesch wrote:
> Carlo v. Loesch typeth:
> | Matthias Wimmer typeth:
> | | At least you can already close the sending half of a TCP/IP connection
> | | after you sent the </stream:stream>. It is enough to keep the receiving
> | | half of the connection open.
> | Oh you are right, thank you.
> | You mean the outgoing TCP line though.
> No wait, it's not that simple.
> If you properly close the socket sending </stream:stream>, then the
> other side will want to reply with its own </stream:stream>. This
> will cause a TCP error and the whole transaction will look like
> there was an error even though there wasn't, and poof we're back
> in fake-unreliability-land where we are just trying to escape from.
Why should this cause a TCP error if we only closed the sending half of
the TCP/IP connection? The receiving half will still be available.
More information about the Standards