Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2022-10-28
22:47 • Closed ticket [0b9d3ba2ba]: Support for reuseport for UNIX sockets plus 6 ot... artifact: 35a10944b6 user: jan.nijtmans
2016-11-22
10:09 • Ticket [0b9d3ba2ba]: 5 changes artifact: b538870817 user: jan.nijtmans
10:06
This is patch.002 from ticket [0b9d3ba2ba3e1e3fc33c97d5a9fa7ef85d11a696|0b9d3ba2ba], as first start ... check-in: ae02accafa user: jan.nijtmans tags: tip-456
2016-11-18
21:30 • Ticket [0b9d3ba2ba] Support for reuseport for UNIX sockets status still Open... artifact: b3ec4a54f3 user: cklein
16:36 • Add attachment patch.002 to ticket [0b9d3ba2ba] artifact: e01949821c user: cklein
13:44 • Ticket [0b9d3ba2ba] Support for reuseport for UNIX sockets status still Open... artifact: 6c5962755b user: jan.nijtmans
2016-11-17
17:14 • Add attachment patch to ticket [0b9d3ba2ba] artifact: 4ab24d086b user: cklein
17:13 • New ticket [0b9d3ba2ba] Support for reuseport for UNIX sockets. artifact: 0cbc126208 user: cklein

Support for reuseport for UNIX sockets

Closed / Fixed0b9d3ba2ba3e1e3fc33c97d5a9fa7ef85d11a696Created 10 years agoUpdated 4 years ago
Descriptionplain2016-11-17 17:13:28
Support for reuseport for UNIX sockets.
The new socket option allows multiple sockets on the same host to bind to the same port, and is intended to improve the performance of multithreaded network server applications running on top of multicore systems.

Without reuseport, you get the error: "couldn't open socket: address already in use"

New patch attached.
Referenced by1
jan.nijtmansplain2016-11-18 13:44:37
Thanks for this submission. The patch as-is is not usable, as it would change the behavior (eating an error-message, which some people expect). At least, an option needs to be implemented somewhere (--reuseport or so), so the behavior is switchable.
cklein Ticket [0b9d3ba2ba]: 3 changes [History diff]2016-11-18 21:30:33
jan.nijtmansplain2016-11-22 10:09:03
Opened branch "tip-456", which can be used for this feature development.

I'll be happy to be the sponsor of this TIP.
jan.nijtmansplain2022-10-28 22:47:52
TIP #456 is final now
Log in (anonymous is fine) to add a comment.