Merge pull request #506 from kruton/sasl-400-byte-chunk

SASL: handle fragmentation
This commit is contained in:
ailin-nemui 2016-09-26 16:43:33 +02:00 committed by GitHub
commit 8d4d313cc9
3 changed files with 154 additions and 23 deletions

View file

@ -446,6 +446,8 @@ static void sig_disconnected(IRC_SERVER_REC *server)
gslist_free_full(server->cap_queue, (GDestroyNotify) g_free);
server->cap_queue = NULL;
g_free_and_null(server->sasl_buffer);
/* these are dynamically allocated only if isupport was sent */
g_hash_table_foreach(server->isupport,
(GHFunc) isupport_destroy_hash, server);