Demian Brecht added the comment: > I'm not sure whether or not this was your intention, but your example > demonstrates a misbehaving client, one that seems to expect a persistent > connection from a non-persistent server. TCPServer will only serve a single > request and will shutdown and close the socket once the response has been > written.
Sorry, I mis-worded that. I'm /assuming/ that the misbehaving client is what you were intending on demonstrating as it shows the server closing the connection before the client expects it to do so. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3566> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com