Change the connected time from time_t to timespec.
[cubemap] / state.proto
index e612831..30b63da 100644 (file)
@@ -2,7 +2,9 @@
 message ClientProto {
        optional int32 sock = 1;
        optional string remote_addr = 8;
-       optional int64 connect_time = 9;
+       optional int64 connect_time_old = 9;  // Contains a time_t from time(). For versions prior to 1.1.3.
+       optional int64 connect_time_sec = 13;
+       optional int32 connect_time_nsec = 14;
        optional int32 state = 2;
        optional bytes request = 3;
        optional string url = 4;