Skip to content
Commit 086faa56 authored by Robert Lubos's avatar Robert Lubos Committed by Carles Cufí
Browse files

net: lib: http_server: Clear http1_headers_sent flag on new request



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: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent f2dc4a0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment