0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 23:14:13 +01:00

sslproc: properly use zconnid's for ziplinks

This commit is contained in:
William Pitcock 2016-03-01 20:02:55 -06:00
parent 36f0ec74c1
commit a0130f9daf

View file

@ -869,11 +869,11 @@ start_zlib_session(void *data)
F[0] = server->localClient->F;
F[1] = xF1;
del_from_cli_connid_hash(server);
del_from_cli_zconnid_hash(server);
server->localClient->F = xF2;
/* need to redo as what we did before isn't valid now */
uint32_to_buf(&buf[1], rb_get_fd(server->localClient->F));
add_to_cli_connid_hash(server);
uint32_to_buf(&buf[1], server->localClient->zconnid);
add_to_cli_zconnid_hash(server);
server->localClient->z_ctl = which_ssld();
if(!server->localClient->z_ctl)