Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
unix: mark accept idle handle as internal
  • Loading branch information
piscisaureus committed Sep 8, 2012
1 parent 817b6c3 commit 27b11ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/tcp.c
Expand Up @@ -247,6 +247,7 @@ int uv_tcp_listen(uv_tcp_t* tcp, int backlog, uv_connection_cb cb) {

if (uv_idle_init(tcp->loop, tcp->idle_handle))
abort();
tcp->idle_handle->flags |= UV__HANDLE_INTERNAL;

tcp->flags |= UV_TCP_SINGLE_ACCEPT;

Expand Down

0 comments on commit 27b11ab

Please sign in to comment.