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

Commit671b40e

Browse files
maingohdeanberris
authored andcommitted
Fixed async_response headers not copied/swapped well (#786)
1 parent673f36c commit671b40e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎boost/network/protocol/http/message/async_message.hpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ struct async_message {
4343
destination_(),
4444
status_(),
4545
headers_(),
46+
retrieved_headers_(),
47+
added_headers(),
48+
removed_headers(),
4649
body_() {}
4750

4851
async_message(async_messageconst& other)
@@ -52,6 +55,9 @@ struct async_message {
5255
destination_(other.destination_),
5356
status_(other.status_),
5457
headers_(other.headers_),
58+
retrieved_headers_(other.retrieved_headers_),
59+
added_headers(other.added_headers),
60+
removed_headers(other.removed_headers),
5561
body_(other.body_) {}
5662

5763
string_typeconststatus_message()const {return status_message_.get(); }
@@ -123,6 +129,9 @@ struct async_message {
123129
std::swap(source_, other.source_);
124130
std::swap(destination_, other.destination_);
125131
std::swap(headers_, other.headers_);
132+
std::swap(retrieved_headers_, other.retrieved_headers_);
133+
std::swap(added_headers, other.added_headers);
134+
std::swap(removed_headers, other.removed_headers);
126135
std::swap(body_, other.body_);
127136
}
128137

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp