X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=server.cpp;h=5f2c088c7826313534b73e0bad81218975978d52;hp=78273b00eb7f3b9b49938c376eba4aeb92fe4300;hb=43e197840691037f7af9c999f3822316ae40402c;hpb=8bbec2e3d29552e4d65b504beebc51819d53792f diff --git a/server.cpp b/server.cpp index 78273b0..5f2c088 100644 --- a/server.cpp +++ b/server.cpp @@ -1332,6 +1332,7 @@ bool Server::more_requests(Client *client) client->header_or_short_response_holder.clear(); client->header_or_short_response_ref.reset(); client->header_or_short_response_bytes_sent = 0; + client->bytes_sent = 0; start_client_timeout_timer(client); change_epoll_events(client, EPOLLIN | EPOLLET | EPOLLRDHUP); // No TLS handshake, so no EPOLLOUT needed.