Skip to content

Fix leaked listening socket on httpd shutdown #1480 - #1488

Open
chrishamm wants to merge 1 commit into
anxdpanic:masterfrom
chrishamm:fix/httpd-socket-leak
Open

chrishamm wants to merge 1 commit into
anxdpanic:masterfrom
chrishamm:fix/httpd-socket-leak

Conversation

@chrishamm

Copy link
Copy Markdown

This is the fix for #1480, the leaked listening socket on the proxy port.

server_close() now closes the socket, and SO_REUSEPORT is off so that a leak which still slips through fails at bind time instead of going unnoticed. Running here without any issues since 7 August, and on another user's two boxes for a month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant