projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added basic ssl support to ircu
[ircu2.10.12-pk.git]
/
ircd
/
send.c
diff --git
a/ircd/send.c
b/ircd/send.c
index 1afbaec34ccf12c7a2ebfb791c8aa704f9994729..b9309b85337fb67f7a5a41f3459c759721648ea3 100644
(file)
--- a/
ircd/send.c
+++ b/
ircd/send.c
@@
-152,7
+152,10
@@
kill_highest_sendq(int servers_too)
*/
void flush_connections(struct Client* cptr)
{
*/
void flush_connections(struct Client* cptr)
{
+ struct SSLConnection *ssl = cli_connect(cptr)->con_ssl;
if (cptr) {
if (cptr) {
+ if(ssl)
+ ssl_connection_flush(ssl);
send_queued(cptr);
}
else {
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));
}
assert(0 < MsgQLength(&(con_sendQ(con))));
send_queued(con_client(con));
}
+ ssl_connection_flush(NULL);
}
}
}
}