0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

newconf: ensure wsock and defer_accept are default-to-disable for now, for consistency sake on rehashes

This commit is contained in:
William Pitcock 2016-05-14 17:23:51 -05:00
parent 7de13f7e5e
commit dcf450702b

View file

@ -842,6 +842,8 @@ conf_begin_listen(struct TopConf *tc)
{
rb_free(listener_address);
listener_address = NULL;
yy_wsock = 0;
yy_defer_accept = 0;
return 0;
}
@ -850,6 +852,8 @@ conf_end_listen(struct TopConf *tc)
{
rb_free(listener_address);
listener_address = NULL;
yy_wsock = 0;
yy_defer_accept = 0;
return 0;
}