@@ -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
4851async_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_typeconst status_message ()const {return status_message_.get (); }
@@ -123,6 +129,9 @@ struct async_message {
123129std::swap (source_, other.source_ );
124130std::swap (destination_, other.destination_ );
125131std::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 );
126135std::swap (body_, other.body_ );
127136 }
128137