Commit bf61c424 authored by Pekka Pessi's avatar Pekka Pessi

tport: close half-closed idle connections on windows, too

Ignore-this: 2ffe592459d1e87748010ad1da93b460

darcs-hash:20090429180320-db55f-24b014f2cac18138c59ddc6598fc5607616fa630.gz
parent d9269de9
......@@ -2815,8 +2815,9 @@ void tport_hup_event(tport_t *self)
if (!tport_is_secondary(self))
return;
/* End of stream */
tport_shutdown0(self, 0);
/* Shutdown completely if there are no queued messages */
/* Problem reported by Arsen Chaloyan */
tport_shutdown0(self, tport_has_queued(self) ? 0 : 2);
tport_set_secondary_timer(self);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment