diff options
| author | Riccardo Spagni <ric@spagni.net> | 2016-09-18 21:38:46 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2016-09-18 21:38:46 +0200 |
| commit | 53e18cafdfb2bf24e8e0f8dd7355733eb31dc1c4 (patch) | |
| tree | 55e6ece4dbd5865b373ddbfedaa669bbdbbd25b1 /contrib/epee/include/net/http_base.h | |
| parent | 5866d91b8242fc43dfe3c9c895d07a692ad4b586 (diff) | |
| parent | eeb2bbc0fcc9c5afa2c3aa12915b4d3f31115e56 (diff) | |
| download | monzero-core-0.10.0.tar.gz monzero-core-0.10.0.tar.xz monzero-core-0.10.0.zip | |
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_base.h')
| -rw-r--r-- | contrib/epee/include/net/http_base.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/epee/include/net/http_base.h b/contrib/epee/include/net/http_base.h index 2a227cc70..4ff74fe27 100644 --- a/contrib/epee/include/net/http_base.h +++ b/contrib/epee/include/net/http_base.h @@ -98,6 +98,7 @@ namespace net_utils std::string m_content_encoding; //"Content-Encoding:" std::string m_host; //"Host:" std::string m_cookie; //"Cookie:" + std::string m_user_agent; //"User-Agent:" fields_list m_etc_fields; void clear() @@ -110,6 +111,7 @@ namespace net_utils m_content_encoding.clear(); m_host.clear(); m_cookie.clear(); + m_user_agent.clear(); m_etc_fields.clear(); } }; |
