X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=client.cpp;h=f02050b5588901fd31142558134899f59512464b;hp=d7bec0986983cb438322941f636a59bd45210003;hb=8a89a1e1e9880cc7ddbd76bb26d3e0755becd4b9;hpb=ed218ece51e5be77fd8bd8f014b5f05708e4be5b diff --git a/client.cpp b/client.cpp index d7bec09..f02050b 100644 --- a/client.cpp +++ b/client.cpp @@ -59,6 +59,8 @@ Client::Client(const ClientProto &serialized, const vector *short_respo serialized.set_header_or_short_response_index(iterator_and_inserted.first->second); } - serialized.set_header_or_short_response_bytes_sent(serialized.header_or_short_response_bytes_sent()); + serialized.set_header_or_short_response_bytes_sent(header_or_short_response_bytes_sent); serialized.set_stream_pos(stream_pos); serialized.set_stream_pos_end(stream_pos_end); serialized.set_bytes_sent(bytes_sent); serialized.set_bytes_lost(bytes_lost); serialized.set_num_loss_events(num_loss_events); + serialized.set_http_11(http_11); + serialized.set_close_after_response(close_after_response); if (tls_context != nullptr) { bool small_version = false;