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

[Backport v3.7-branch] net: lib: http_server: Clear http1_headers_sent flag on new request #76961

Merged
merged 1 commit into from
Aug 18, 2024

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Aug 12, 2024

Backport 086faa5 from #76845.

Fixes #76776

http1_headers_sent flag has to be cleared when entering
HTTP_SERVER_REQUEST_STATE and not only on the client init. Otherwise,
serving multiple HTTP1 POST requests over the same connection does not
work as intended (headers were not sent for the second and further
requests).

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
(cherry picked from commit 086faa5)
@zephyrbot zephyrbot added Backport Backport PR and backport failure issues size: XS A PR changing only a single line of code area: Networking labels Aug 12, 2024
@nashif nashif merged commit 20e7ef3 into v3.7-branch Aug 18, 2024
31 checks passed
@nashif nashif deleted the backport-76845-to-v3.7-branch branch August 18, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking Backport Backport PR and backport failure issues size: XS A PR changing only a single line of code
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants