Skip to content

Fix multiple definition swap - #645

Merged
glynos merged 3 commits into
cpp-netlib:masterfrom
deanberris:fix/multiple-definition-swap
Apr 25, 2016
Merged

glynos merged 3 commits into
cpp-netlib:masterfrom
deanberris:fix/multiple-definition-swap

Conversation

@deanberris

Copy link
Copy Markdown
Member

Closes #643

This changes the example file server to use the read handler for
POST/PUT requests. This currently assumes that there's a content-length
header (not much error handling is happening here, but it's meant as a
proof of concept anyway).

Using this code path in an example should be good enough for the moment
until we have better tests and a better API for this functionality.
@glynos

glynos commented Apr 25, 2016

Copy link
Copy Markdown
Member

LGTM.

@glynos
glynos merged commit c017497 into cpp-netlib:master Apr 25, 2016
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