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

regression requests on keep-alive HTTP connections only served after 40ms #338

Merged
merged 1 commit into from
Oct 12, 2013

Commits on Oct 12, 2013

  1. fix Issue vibe-d#338 - keep-alive HTTP requests only served after 40ms

    - A deadlock is caused by Nagle's algorithm + delayed ACK and
      the write+write+read pattern (resp header + body + next req)
      when serving 2 HTTP requests on a keep-alive connection.
    
    - Resolved by buffering smaller writes so that responses don't
      get split unnecessary, i.e. blocking in write iff more than
      4kB is buffered.
    MartinNowak committed Oct 12, 2013
    Configuration menu
    Copy the full SHA
    fc6986c View commit details
    Browse the repository at this point in the history