Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit092cd57

Browse files
chenzhaoyudeanberris
authored andcommitted
fix http client body content (#760)
1 parent610c8cb commit092cd57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎boost/network/protocol/http/client/connection/async_protocol_handler.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ struct http_async_protocol_handler {
389389
partial_parsed.append(part_begin, part_begin + bytes);
390390
part_begin = part.begin();
391391
if (check_parse_body_complete()) {
392-
callback(boost::asio::error::eof,bytes);
392+
callback(boost::asio::error::eof,0);
393393
}else {
394394
delegate_->read_some(
395395
boost::asio::mutable_buffers_1(part.data(), part.size()), callback);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp