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

http_listener does not gracefully handle remotely-closed keepalive connections (Linux/ASIO) #1683

Open
yangbohust opened this issue Feb 8, 2022 · 1 comment

Comments

@yangbohust
Copy link

yangbohust commented Feb 8, 2022

Similar question to issue #592 http_client does not gracefully handle remotely-closed keepalive connections (Linux/ASIO)

I used http_listener to start an https server with ssl config using web::http::experimental::listener::http_listener_config::set_ssl_context_callback.
When I used the sslyze 0.0.0.0:12346 --regular command to test the https server, I found that many connections were in the CLOSE_WAIT state and could not exit.

The boost version I am using is 1.74.0

Is this issue similar to issue 592?
Is there any fix for this issue?
Thank you very much~

@barcharcraz
Copy link
Member

Please do not use the server component in production ever. It's really only designed for testing cpprestsdk itself, and has never been supported for use in any other scenario.

That said, this may be a real bug

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

2 participants