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 for handling on boot timers headers and request #48291

Commits on Jun 7, 2023

  1. http: fix for handling on boot timers headers and request

    This change is a fix for handling headersTimeout and requestTimeout
    that causes unexpected behavior if the HTTP server is started on boot:
    
     - the connections to the server can be closed immediately
       with the status HTTP 408
    
    This issue usually happens on IoT or embedded devices where
    the reference timestamp (returned by uv_hrtime()) is counted since boot
    and can be smaller than the headersTimeout or the requestTimeout value.
    
    Additionally added performance improvement to process the list of
    connection only if one of the timers should be processed
    franciszek-koltuniuk-red committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    5bc194c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd272a6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc3c854 View commit details
    Browse the repository at this point in the history