nghttpx: Update doc
This commit is contained in:
parent
1240e55bb6
commit
f310e82fc8
|
@ -165,6 +165,9 @@ public:
|
||||||
BlockAllocator &get_block_allocator();
|
BlockAllocator &get_block_allocator();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
// Allocator to allocate memory for connection-wide objects. Make
|
||||||
|
// sure that the allocations must be bounded, and not proportional
|
||||||
|
// to the number of requests.
|
||||||
BlockAllocator balloc_;
|
BlockAllocator balloc_;
|
||||||
Connection conn_;
|
Connection conn_;
|
||||||
ev_timer reneg_shutdown_timer_;
|
ev_timer reneg_shutdown_timer_;
|
||||||
|
|
|
@ -659,7 +659,7 @@ struct RateLimitConfig {
|
||||||
struct WildcardPattern {
|
struct WildcardPattern {
|
||||||
WildcardPattern(const StringRef &host) : host(host) {}
|
WildcardPattern(const StringRef &host) : host(host) {}
|
||||||
|
|
||||||
// This may not be NULL terminated. Currently it is only used for
|
// This might not be NULL terminated. Currently it is only used for
|
||||||
// comparison.
|
// comparison.
|
||||||
StringRef host;
|
StringRef host;
|
||||||
Router router;
|
Router router;
|
||||||
|
@ -693,6 +693,10 @@ struct DownstreamConfig {
|
||||||
DownstreamConfig &operator=(const DownstreamConfig &) = delete;
|
DownstreamConfig &operator=(const DownstreamConfig &) = delete;
|
||||||
DownstreamConfig &operator=(DownstreamConfig &&) = delete;
|
DownstreamConfig &operator=(DownstreamConfig &&) = delete;
|
||||||
|
|
||||||
|
// Allocator to allocate memory for Downstream configuration. Since
|
||||||
|
// we may swap around DownstreamConfig in arbitrary times with API
|
||||||
|
// calls, we should use their own allocator instead of per Config
|
||||||
|
// allocator.
|
||||||
BlockAllocator balloc;
|
BlockAllocator balloc;
|
||||||
struct {
|
struct {
|
||||||
ev_tstamp read;
|
ev_tstamp read;
|
||||||
|
@ -781,6 +785,9 @@ struct Config {
|
||||||
Config &operator=(Config &&) = delete;
|
Config &operator=(Config &&) = delete;
|
||||||
Config &operator=(const Config &&) = delete;
|
Config &operator=(const Config &&) = delete;
|
||||||
|
|
||||||
|
// Allocator to allocate memory for this object except for
|
||||||
|
// DownstreamConfig. Currently, it is used to allocate memory for
|
||||||
|
// strings.
|
||||||
BlockAllocator balloc;
|
BlockAllocator balloc;
|
||||||
HttpProxy downstream_http_proxy;
|
HttpProxy downstream_http_proxy;
|
||||||
HttpConfig http;
|
HttpConfig http;
|
||||||
|
|
Loading…
Reference in New Issue