Skip to content

Swap 'sizeof' by 'strlen' in the request and response examples#2

Merged
nekipelov merged 1 commit intonekipelov:masterfrom
Icaro-Lima:master
Apr 29, 2020
Merged

Swap 'sizeof' by 'strlen' in the request and response examples#2
nekipelov merged 1 commit intonekipelov:masterfrom
Icaro-Lima:master

Conversation

@Icaro-Lima
Copy link
Contributor

Fixes the request and response examples. As it stands, a '\0' character is being unnecessarily added to the parser, this caused messages cut in the middle of the headers to be treated as an error.

This probably solves this problem: #1

Fixes the request and response examples. As it stands, a '\0' character is being unnecessarily added to the parser, this caused messages cut in the middle of the headers to be treated as an error.
@Icaro-Lima Icaro-Lima mentioned this pull request Feb 6, 2019
@nekipelov nekipelov merged commit ac5e383 into nekipelov:master Apr 29, 2020
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