Skip to content

http1 dynamic post request response doesn't send header a second time #76776

@LukasTaroza

Description

@LukasTaroza

I am using sample http_server and found that if I post to a URL with dynamic context, the first time I get a packet with a header and if I post again without waiting for client timeout, I don't get a header.

Log with additional messages added to show what header is sent:
image

I've added a line client->http1_header_sent = false when status is HTTP_SERVER_DATA_FINAL to fix the issue, but I don't think that is a good fix.

I am using zephyr commit 5305aa6

Metadata

Metadata

Assignees

Labels

area: NetworkingbugThe issue is a bug, or the PR is fixing a bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions