From 25a464524517c574ff588b72cc1e57dc2a31b3b3 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Wed, 23 Oct 2024 12:11:52 +0000 Subject: [PATCH] Update: Undo timeout patch for now --- src/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection.c b/src/connection.c index 564bb8f0..0fd007c3 100644 --- a/src/connection.c +++ b/src/connection.c @@ -767,7 +767,7 @@ static client_slurp_result_t process_request_body_queue_one(client_queue_entry_t } if (res != CLIENT_SLURP_SUCCESS) { - if (client->con->con_time <= (time(NULL) - timeout) || client->request_body_read >= body_size_limit || client->con->error) { + if (client->con->con_time <= timeout || client->request_body_read >= body_size_limit || client->con->error) { return CLIENT_SLURP_ERROR; } }