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: fix timeout reset after keep-alive timeout #13549

Closed
wants to merge 3 commits into from

Commits on Jun 12, 2017

  1. http: fix timeout reset after keep-alive timeout

    Fix the logic of resetting the socket timeout of keep-alive HTTP
    connections and add two tests:
    
    * `test-http-server-keep-alive-timeout-slow-server` is a regression test
      for nodejsGH-13391.  It ensures that the server-side keep-alive timeout will
      not fire during processing of a request.
    
    * `test-http-server-keep-alive-timeout-slow-headers` ensures that the
      regular socket timeout is restored as soon as a client starts sending
      a new request, not as soon as the whole message is received, so that
      the keep-alive timeout will not fire while, e.g., the client is
      sending large cookies.
    
    Refs: nodejs#2534
    Fixes: nodejs#13391
    aqrln committed Jun 12, 2017
    Configuration menu
    Copy the full SHA
    3d4d207 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4f645b View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2017

  1. Configuration menu
    Copy the full SHA
    834def6 View commit details
    Browse the repository at this point in the history