-
-
Notifications
You must be signed in to change notification settings - Fork 99
Closed
Labels
Description
β I'm submitting a ...
- π bug report
- π£ feature request
- β question about the decisions made in the repository
π Is your feature request related to a problem? Please describe.
We have a process that automatically distributes available ports across multiple cheroot processes and keeps sockets on those ports opened until cheroot processes take control on them. Cheroot right now cannot reuse those opened ports.
π£ Describe the solution you'd like
Add an option to say cheroot to set SO_REUSEPORT socket option.
π Describe alternatives you've considered
Passing socket object to cheroot instead of bind address, but that would require some refactoring and I don't think it would follow Zen of Cherrypy if this solution would be ported to cherrypy.