1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 14:03:12 +02:00

- Zip links: once a link was zipped, the error message when closing the

connection was never actually sent (due to buffering). Hence, things like
  the /SQUIT reason was never seen on the other side (just 'server closed
  the connection'). This has now been fixed.
This commit is contained in:
Bram Matthys
2011-06-05 21:36:53 +02:00
parent 08871c1e6a
commit 143858cc5b
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -2287,3 +2287,7 @@
- The unreal32docs translations in Greek, Spanish and Dutch are marked as
out of date.
- CRLF conversion of unreal32docs.gr.html
- Zip links: once a link was zipped, the error message when closing the
connection was never actually sent (due to buffering). Hence, things like
the /SQUIT reason was never seen on the other side (just 'server closed
the connection'). This has now been fixed.
+2 -2
View File
@@ -120,11 +120,11 @@ void flush_connections(aClient* cptr)
{
for (i = LastSlot; i >= 0; i--)
if ((acptr = local[i]) && !(acptr->flags & FLAGS_BLOCKED)
&& DBufLength(&acptr->sendQ) > 0)
&& ((DBufLength(&cptr->sendQ) > 0) || (IsZipped(cptr) && cptr->zip->outcount)) )
send_queued(acptr);
}
else if (cptr->fd >= 0 && !(cptr->flags & FLAGS_BLOCKED)
&& DBufLength(&cptr->sendQ) > 0)
&& ((DBufLength(&cptr->sendQ) > 0) || (IsZipped(cptr) && cptr->zip->outcount)) )
send_queued(cptr);
}