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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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

wants to merge 1 commit into from

Commits on Oct 23, 2015

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

    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).
    mmp committed Oct 23, 2015
    Configuration menu
    Copy the full SHA
    dcda7ba View commit details
    Browse the repository at this point in the history