Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge remote-tracking branch 'origin/patches-2.0'

  • Loading branch information...
commit d5318b664db906a19ebb3cefefbdf065cf1330c6 2 parents cda69d0 + cb853ea
Nick Mathewson authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 listener.c
View
4 listener.c
@@ -737,6 +737,10 @@ iocp_listener_disable_impl(struct evconnlistener *lev, int shutdown)
}
LeaveCriticalSection(&as->lock);
}
+
+ if (shutdown && lev->flags & LEV_OPT_CLOSE_ON_FREE)
+ evutil_closesocket(lev_iocp->fd);
+
UNLOCK(lev);
return 0;
}
Please sign in to comment.
Something went wrong with that request. Please try again.