X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=client.cpp;h=c2cbcf5033bf76c86ccdf36e28078d525f969841;hp=4b7bcb7e0bdb7604551e4d146f3bb1a4689e358d;hb=019d476c729a6c1b6ac001e345d44339ba423221;hpb=1135808bf9df44b879994e6dac07a31eb78c2fdb diff --git a/client.cpp b/client.cpp index 4b7bcb7..c2cbcf5 100644 --- a/client.cpp +++ b/client.cpp @@ -66,6 +66,7 @@ Client::Client(const ClientProto &serialized, Stream *stream) header_or_short_response(serialized.header_or_short_response()), header_or_short_response_bytes_sent(serialized.header_or_short_response_bytes_sent()), stream_pos(serialized.stream_pos()), + stream_pos_end(serialized.stream_pos_end()), bytes_sent(serialized.bytes_sent()), bytes_lost(serialized.bytes_lost()), num_loss_events(serialized.num_loss_events()) @@ -120,6 +121,7 @@ ClientProto Client::serialize() const serialized.set_header_or_short_response(header_or_short_response); serialized.set_header_or_short_response_bytes_sent(serialized.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);