2016-12-30 20:52:56 +00:00
|
|
|
#pragma once
|
|
|
|
|
2017-02-27 21:07:57 +00:00
|
|
|
#include <mutex>
|
2017-01-30 05:13:58 +00:00
|
|
|
|
|
|
|
namespace Poco
|
|
|
|
{
|
2017-04-01 07:20:54 +00:00
|
|
|
namespace Net
|
|
|
|
{
|
|
|
|
class HTTPServerResponse;
|
|
|
|
}
|
2017-01-30 05:13:58 +00:00
|
|
|
}
|
|
|
|
|
2016-12-30 20:52:56 +00:00
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
2017-09-08 16:41:35 +00:00
|
|
|
void setResponseDefaultHeaders(Poco::Net::HTTPServerResponse & response, unsigned keep_alive_timeout);
|
2016-12-30 20:52:56 +00:00
|
|
|
|
2017-03-07 19:01:37 +00:00
|
|
|
extern std::once_flag ssl_init_once;
|
|
|
|
void SSLInit();
|
2017-02-27 21:07:57 +00:00
|
|
|
|
2016-12-30 20:52:56 +00:00
|
|
|
}
|