From dfd36bbebb6f6171763281cd2431f85901584259 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 26 May 2018 20:17:15 +0100 Subject: http_protocol_handler: limit the number of starting newlines --- contrib/epee/include/net/http_protocol_handler.h | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/epee/include/net/http_protocol_handler.h') diff --git a/contrib/epee/include/net/http_protocol_handler.h b/contrib/epee/include/net/http_protocol_handler.h index b4485d1cd..e602fac2b 100644 --- a/contrib/epee/include/net/http_protocol_handler.h +++ b/contrib/epee/include/net/http_protocol_handler.h @@ -141,6 +141,7 @@ namespace net_utils size_t m_len_summary, m_len_remain; config_type& m_config; bool m_want_close; + size_t m_newlines; protected: i_service_endpoint* m_psnd_hndlr; }; -- cgit v1.2.3