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

Commit9318c1d

Browse files
igorpeshanskydeanberris
authored andcommitted
Enable remove_chunk_markers by default. Fix a bug and add a comment.
1 parent64319f9 commit9318c1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎boost/network/protocol/http/client/options.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class client_options {
3535
io_service_(),
3636
always_verify_peer_(true),
3737
timeout_(0),
38-
remove_chunk_markers_(false) {}
38+
remove_chunk_markers_(true) {}
3939

4040
client_options(client_optionsconst& other)
4141
: cache_resolved_(other.cache_resolved_),
@@ -50,7 +50,7 @@ class client_options {
5050
io_service_(other.io_service_),
5151
always_verify_peer_(other.always_verify_peer_),
5252
timeout_(other.timeout_),
53-
remove_chunk_markers_(other.remove_chunk_markers) {}
53+
remove_chunk_markers_(other.remove_chunk_markers_) {}
5454

5555
client_options&operator=(client_options other) {
5656
other.swap(*this);
@@ -157,7 +157,7 @@ class client_options {
157157
return *this;
158158
}
159159

160-
/// Setan overall timeout for HTTP requests.
160+
/// Setwhether we process chunked-encoded streams.
161161
client_options&remove_chunk_markers(bool v) {
162162
remove_chunk_markers_ = v;
163163
return *this;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp