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: delay input stream close until responses sent #1391

Merged
merged 1 commit into from
Jan 8, 2023

Conversation

jcsp
Copy link
Contributor

@jcsp jcsp commented Jan 4, 2023

This is a workaround for issue #906 when using TLS connections to an httpd service.

Previously, https:// servers would fail to send a response whenever a client sent a "Connection: Close" HTTP/1.1 response.

This was hidden mostly by the case-sensitive parse of "Close", where typical clients send "close". Commit c14f931 fized the parsing to be case insensitive, which makes the underlying issue manifest. Previously we were mostly ignoring Connection headers.

Previously, https:// servers would fail to send a response
whenever a client sent a "Connection: Close" HTTP/1.1 response.

This was hidden mostly by the case-sensitive parse of "Close", where
typical clients send "close".  Commit c14f931 fized the parsing to
be case insensitive, which makes the underlying issue manifest.
Previously we were mostly ignoring `Connection` headers.
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

Successfully merging this pull request may close these issues.

2 participants