aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/net/http_protocol_handler.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-05-26 20:17:15 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-05-27 09:43:54 +0100
commitdfd36bbebb6f6171763281cd2431f85901584259 (patch)
tree00b9f1b32fe1015ce68313dbd6d5f203111a89a7 /contrib/epee/include/net/http_protocol_handler.h
parentabstract_tcp_server2: timeout on RPC connections (diff)
downloadmonero-dfd36bbebb6f6171763281cd2431f85901584259.tar.xz
http_protocol_handler: limit the number of starting newlines
Diffstat (limited to 'contrib/epee/include/net/http_protocol_handler.h')
-rw-r--r--contrib/epee/include/net/http_protocol_handler.h1
1 files changed, 1 insertions, 0 deletions
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;
};