]> git.sesse.net Git - cubemap/blobdiff - client.cpp
Fix timeout behavior with persistent connections.
[cubemap] / client.cpp
index 05b8e7d88fcd0b622e2386e84b83abedf0687a24..23892ac19038406e584241a0ee462583c9447c0b 100644 (file)
@@ -20,11 +20,6 @@ Client::Client(int sock)
 {
        request.reserve(1024);
 
-       if (clock_gettime(CLOCK_MONOTONIC_COARSE, &connect_time) == -1) {
-               log_perror("clock_gettime(CLOCK_MONOTONIC_COARSE)");
-               return;
-       }
-
        // Find the remote address, and convert it to ASCII.
        sockaddr_in6 addr;
        socklen_t addr_len = sizeof(addr);