Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
f310e82f
Commit
f310e82f
authored
Oct 03, 2016
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttpx: Update doc
parent
1240e55b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
src/shrpx_client_handler.h
src/shrpx_client_handler.h
+3
-0
src/shrpx_config.h
src/shrpx_config.h
+8
-1
No files found.
src/shrpx_client_handler.h
View file @
f310e82f
...
...
@@ -165,6 +165,9 @@ public:
BlockAllocator
&
get_block_allocator
();
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_
;
Connection
conn_
;
ev_timer
reneg_shutdown_timer_
;
...
...
src/shrpx_config.h
View file @
f310e82f
...
...
@@ -659,7 +659,7 @@ struct RateLimitConfig {
struct
WildcardPattern
{
WildcardPattern
(
const
StringRef
&
host
)
:
host
(
host
)
{}
// This m
ay
not be NULL terminated. Currently it is only used for
// This m
ight
not be NULL terminated. Currently it is only used for
// comparison.
StringRef
host
;
Router
router
;
...
...
@@ -693,6 +693,10 @@ struct DownstreamConfig {
DownstreamConfig
&
operator
=
(
const
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
;
struct
{
ev_tstamp
read
;
...
...
@@ -781,6 +785,9 @@ struct Config {
Config
&
operator
=
(
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
;
HttpProxy
downstream_http_proxy
;
HttpConfig
http
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment