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

Fix stalled SSL connection when sending large headers #105

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

Dragoonwings
Copy link
Contributor

In addition to #103. If we send large enough headers, more than postpone_output (1460) but less than ssl_buffer(16k) it also will be buffered and ngx_http_send_header returns NGX_AGAIN. So we need to threat it as OK and send more data.
Not sure will it return r->connection->buffered as well in any case with NGX_AGAIN.

@evanmiller
Copy link
Owner

Thanks!

@evanmiller evanmiller merged commit 433bd7c into evanmiller:master Feb 13, 2023
@Dragoonwings Dragoonwings deleted the ssl-headers branch February 13, 2023 06:44
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.

None yet

2 participants