Skip to content
Snippets Groups Projects
Commit c6bccc24 authored by David Klempner's avatar David Klempner
Browse files

Move close() to when the fd refcount goes to zero

Instead, we do a shutdown() at the point we are currently closing, to
kick off socket teardown while ensuring an fd ref is sufficient to make
concurrent syscalls like epoll_ctl safe.
parent b505661b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment