-
Notifications
You must be signed in to change notification settings - Fork 181
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
Segmentation Fault in HTTP.serve
on closed TCP Socket listener
#784
Comments
HTTP.serve
on closed TCP Socket listener
Ah, it appears this is a dupe of julia's JuliaLang/julia#29087. We could still consider fixing it in HTTP.jl by adding a check that the server is not closed before calling |
Maybe fixed by JuliaLang/julia#41000 (duplicate of JuliaLang/julia#40993)? |
Ah, excellent. Definitely seems like it has been fixed on 1.7+ 👍 Thanks. Still might be nice for us to check in HTTP.jl to avoid the segfault on older julias, and/or for julia to backport the fix if 1.6 is gonna be the LTS. 👍 |
Marked for backport. |
This should be fixed in Julia by now. |
Julia 0.6.4
HTTP v0.9.16
MbedTLS v1.0.3
I have reduced down a segfault that occurs if you try to call
HTTP.serve()
with a closed TCP socket listener:I recognize that this is not something you should be doing anyway, but it shouldn't segfault.
Can we maybe add a check that might be missing somewhere that the tcp socket server isn't closed yet?
Thanks!
The text was updated successfully, but these errors were encountered: