Mercurial > pidgin
comparison libpurple/plugins/pluginpref_example.c @ 21467:3d70e3ec8a47
My changes to disable external port mapping exposed a flaw where the server socket was being closed immediately, before the client had read all the data - this caused the client to receive a RST and consequently error. The solution is to wait for the client to close the connection before closing the server connection. I'm surprised this hasn't been a problem elsewhere - it seems like it would be.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 13 Nov 2007 06:27:27 +0000 |
parents | 3cc856ca2338 |
children |
comparison
equal
deleted
inserted
replaced
21466:7a05b6f84545 | 21467:3d70e3ec8a47 |
---|