X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=state.proto;h=2a788eb07e6fdcba86dfb0fa50c0e8384d51fd50;hp=942254012ffae5a309ed6bf6f95c1a965e2fe8dc;hb=6544fa0ec3f3a501bcb89ea977756911bd7f3ebd;hpb=2fbbdf3c4a4ffd2d90c102a37c7a02b5b6f80216 diff --git a/state.proto b/state.proto index 9422540..2a788eb 100644 --- a/state.proto +++ b/state.proto @@ -1,3 +1,5 @@ +syntax = "proto2"; + // Corresponds to struct Client. message ClientProto { optional int32 sock = 1; @@ -8,8 +10,8 @@ message ClientProto { optional int32 state = 2; optional bytes request = 3; optional string url = 4; - optional bytes header_or_error = 5; - optional int64 header_or_error_bytes_sent = 6; + optional bytes header_or_short_response = 5; + optional int64 header_or_short_response_bytes_sent = 6; optional int64 stream_pos = 7; optional int64 bytes_sent = 10; optional int64 bytes_lost = 11; @@ -45,6 +47,7 @@ message InputProto { optional int64 bytes_received = 11; optional int64 data_bytes_received = 12; optional int64 connect_time = 13; + optional bool is_metacube_encoded = 15 [default=true]; }; // Corresponds to class Acceptor.