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

Stop if process_request/response aborts the opening handshake. #1500

Merged
merged 1 commit into from
Sep 11, 2024

Commits on Sep 11, 2024

  1. Run handler only when opening handshake succeeds.

    When process_request() or process_response() returned a HTTP response
    without calling accept() or reject() and with a status code other than
    101, the connection handler used to start, which was incorrect.
    
    Fix #1419.
    
    Also move start_keepalive() outside of handshake() and bring it together
    with starting the connection handler, which is more logical.
    aaugustin committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    98f236f View commit details
    Browse the repository at this point in the history