From 4db0cd55276d7c12d91e4dbcc44b79246c8591b4 Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Thu, 21 Feb 2019 14:05:15 +0100 Subject: [PATCH] What about making it compile --- src/HttpContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpContext.h b/src/HttpContext.h index 39f101c..bda67dd 100644 --- a/src/HttpContext.h +++ b/src/HttpContext.h @@ -188,7 +188,7 @@ private: /* Getting a chunk of data while having a data handler should reset timeout (todo: if last, short timeout, if not last, bigger timeout) */ /* Really, we only need to reset timeout to the larger delay if we are not fin */ - us_new_socket_timeout(SSL, (us_new_socket_t *) s, HTTP_IDLE_TIMEOUT_S); + us_new_socket_timeout(SSL, (struct us_new_socket_t *) user, HTTP_IDLE_TIMEOUT_S); /* We might respond in the handler, so do not change timeout after this */ httpResponseData->inStream(data, fin);