| Index: services/http_server/http_request_parser.cc
|
| diff --git a/services/http_server/http_request_parser.cc b/services/http_server/http_request_parser.cc
|
| index b5beb0a9fbfdd56df9222d213d58b91a294a99ee..5aff0d01823370dfd69253c4bb7393e596a4a634 100644
|
| --- a/services/http_server/http_request_parser.cc
|
| +++ b/services/http_server/http_request_parser.cc
|
| @@ -139,10 +139,10 @@ HttpRequestParser::ParseResult HttpRequestParser::ParseHeaders() {
|
|
|
| // If we ever want to support really large content length (currently pipe max
|
| // 256 MB), then we'll have to stream data from parser to handler.
|
| - MojoCreateDataPipeOptions options = {sizeof(MojoCreateDataPipeOptions),
|
| - MOJO_CREATE_DATA_PIPE_OPTIONS_FLAG_NONE,
|
| - 1,
|
| - declared_content_length};
|
| + MojoCreateDataPipeOptions options = {
|
| + sizeof(MojoCreateDataPipeOptions),
|
| + MOJO_CREATE_DATA_PIPE_OPTIONS_FLAG_NONE, 1,
|
| + static_cast<uint32_t>(declared_content_length)};
|
| MojoResult result = CreateDataPipe(
|
| &options, &producer_handle_, &http_request_->body);
|
| if (result != MOJO_RESULT_OK) {
|
|
|