mirror of
https://github.com/monero-project/monero.git
synced 2025-05-16 10:02:17 -04:00
epee: remove dependency on common
This commit is contained in:
parent
a529f0a6c9
commit
40ab12a773
11 changed files with 31 additions and 23 deletions
|
@ -160,6 +160,7 @@ namespace net_utils
|
|||
struct custum_handler_config: public http_server_config
|
||||
{
|
||||
i_http_server_handler<t_connection_context>* m_phandler;
|
||||
std::function<void(size_t, uint8_t*)> rng;
|
||||
};
|
||||
|
||||
/************************************************************************/
|
||||
|
@ -176,7 +177,7 @@ namespace net_utils
|
|||
: simple_http_connection_handler<t_connection_context>(psnd_hndlr, config),
|
||||
m_config(config),
|
||||
m_conn_context(conn_context),
|
||||
m_auth(m_config.m_user ? http_server_auth{*m_config.m_user} : http_server_auth{})
|
||||
m_auth(m_config.m_user ? http_server_auth{*m_config.m_user, config.rng} : http_server_auth{})
|
||||
{}
|
||||
inline bool handle_request(const http_request_info& query_info, http_response_info& response)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue