X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Fsend.c;fp=ircd%2Fsend.c;h=b9309b85337fb67f7a5a41f3459c759721648ea3;hp=1afbaec34ccf12c7a2ebfb791c8aa704f9994729;hb=7fbfc390d32f9acc3192d011b813f66f35370faa;hpb=0400a5a6479398d82526785c18c0df8bc8b92dce diff --git a/ircd/send.c b/ircd/send.c index 1afbaec..b9309b8 100644 --- a/ircd/send.c +++ b/ircd/send.c @@ -152,7 +152,10 @@ kill_highest_sendq(int servers_too) */ void flush_connections(struct Client* cptr) { + struct SSLConnection *ssl = cli_connect(cptr)->con_ssl; if (cptr) { + if(ssl) + ssl_connection_flush(ssl); send_queued(cptr); } else { @@ -161,6 +164,7 @@ void flush_connections(struct Client* cptr) assert(0 < MsgQLength(&(con_sendQ(con)))); send_queued(con_client(con)); } + ssl_connection_flush(NULL); } }