Skip to content

Set body length in HTTP response using string::size().#15

Open
mmp wants to merge 1 commit intokonteck:masterfrom
mmp:size
Open

Set body length in HTTP response using string::size().#15
mmp wants to merge 1 commit intokonteck:masterfrom
mmp:size

Conversation

@mmp
Copy link

@mmp mmp commented Oct 23, 2015

Using strlen() on the contents of a std::string gives an incorrect result
if the body is binary data with 0 bytes along the way (e.g. an image).

Using strlen() on the contents of a std::string gives an incorrect result
if the body is binary data with 0 bytes along the way (e.g. an image).
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.

1 participant

Comments