X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=state.proto;h=c6f0e004624ec6545cf40d935890a3528b4df7a0;hp=942254012ffae5a309ed6bf6f95c1a965e2fe8dc;hb=d0aad5446b9896e3ba15c8a50c345e185dc1631f;hpb=2fbbdf3c4a4ffd2d90c102a37c7a02b5b6f80216 diff --git a/state.proto b/state.proto index 9422540..c6f0e00 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;