aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/net/http_protocol_handler.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-09-18 21:38:46 +0200
committerRiccardo Spagni <ric@spagni.net>2016-09-18 21:38:46 +0200
commit53e18cafdfb2bf24e8e0f8dd7355733eb31dc1c4 (patch)
tree55e6ece4dbd5865b373ddbfedaa669bbdbbd25b1 /contrib/epee/include/net/http_protocol_handler.h
parentMerge pull request #1101 (diff)
parentepee: optionally restrict HTTP service to a configurable user agent (diff)
downloadmonero-53e18cafdfb2bf24e8e0f8dd7355733eb31dc1c4.tar.xz
Merge pull request #1102v0.10.0
eeb2bbc epee: optionally restrict HTTP service to a configurable user agent (moneromooo-monero)
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 aed909778..40e3392db 100644
--- a/contrib/epee/include/net/http_protocol_handler.h
+++ b/contrib/epee/include/net/http_protocol_handler.h
@@ -49,6 +49,7 @@ namespace net_utils
struct http_server_config
{
std::string m_folder;
+ std::string m_required_user_agent;
critical_section m_lock;
};