( )⚙ D3720 commandserver: close server's fds explicitly from a worker

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
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

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