-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig.h
More file actions
33 lines (23 loc) · 779 Bytes
/
Copy pathconfig.h
File metadata and controls
33 lines (23 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef RS_LIBHTTPSERVER_CONFIG_H
#define RS_LIBHTTPSERVER_CONFIG_H
#include <boost/noncopyable.hpp>
namespace rs {
namespace httpserver {
class Config final : private boost::noncopyable {
public:
const static unsigned MinThreadCount;
const static unsigned MaxThreadCount;
const static unsigned ThreadCoreMultiplier;
const static int MaxRequestCount;
const static int HeaderReceiveTimeoutPeriod;
const static int BodyReceiveTimeoutPeriod;
const static int KeepAliveTimeout;
const static int KeepAliveTimeoutGrace;
const static int KeepAliveTimeoutTotal;
const static int MaxRequestHeaderSize;
const static int MaxResponseChunkSize;
private:
Config() = delete;
};
}}
#endif /* RS_LIBHTTPSERVER_CONFIG_H */