This is an archive of the discontinued Mercurial Phabricator instance.

commandserver: close server's fds explicitly from a worker
ClosedPublic

Authored by quark on Jun 12 2018, 3:42 PM.

Details

Summary

The forked worker does not need to accept connections from the server's
socket fd. So let's just close them explicitly to avoid surprises.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

quark created this revision.Jun 12 2018, 3:42 PM
This revision was automatically updated to reflect the committed changes.