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

Send mismatched MIME multipart boundary strings on HTTP retry #827

Closed
pasin opened this issue Jul 29, 2015 · 0 comments
Closed

Send mismatched MIME multipart boundary strings on HTTP retry #827

pasin opened this issue Jul 29, 2015 · 0 comments
Labels
Milestone

Comments

@pasin
Copy link
Contributor

pasin commented Jul 29, 2015

This is an issue created to pair with a commit: a8fb03d

Fixed sending mismatched MIME multipart boundary strings on HTTP retry

If a CBLMultipartWriter created by CBLRestPusher needed to retry the
request (on auth challenge or redirect), it would get a new body stream,
but the new stream would have a different random multipart boundary
string. Unfortunately the old boundary was still encoded in the
Content-Type header. The resulting HTTP body would be unparseable :(

Fixed by making sure to create the new body with the same boundary.

@pasin pasin added the bug label Jul 29, 2015
@pasin pasin added this to the 1.1.1 milestone Jul 29, 2015
@pasin pasin closed this as completed Jul 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant