Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IO::Socket::SSL isn't reusing the port #7

Open
jkominek opened this issue Nov 24, 2019 · 1 comment
Open

IO::Socket::SSL isn't reusing the port #7

jkominek opened this issue Nov 24, 2019 · 1 comment

Comments

@jkominek
Copy link
Owner

pircd/pircd

Line 104 in c4352b1

Reuse => 1,

Reuse on the SSL socket doesn't work, which isn't a big surprise when you go looking at the code. Sigh.

@jkominek
Copy link
Owner Author

See https://metacpan.org/pod/IO::Socket::SSL#Basic-SSL-Server we need to implement the second option using start_SSL so we can control how the initial listening socket works.
once we have that, we could implement a STARTTLS command relatively easily.
conveniently, this would also let us use new X.509 certs for new connections, which was a concern for the old method.

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

No branches or pull requests

1 participant