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
3e53cd18
Commit
3e53cd18
authored
Aug 08, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clang-format-3.5
parent
9331dc75
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
16 deletions
+9
-16
lib/nghttp2_hd.h
lib/nghttp2_hd.h
+2
-2
src/h2load.cc
src/h2load.cc
+7
-14
No files found.
lib/nghttp2_hd.h
View file @
3e53cd18
...
...
@@ -358,8 +358,8 @@ int nghttp2_hd_emit_newname_block(nghttp2_bufs *bufs, nghttp2_nv *nv,
int
nghttp2_hd_emit_table_size
(
nghttp2_bufs
*
bufs
,
size_t
table_size
);
/* For unittesting purpose */
NGHTTP2_EXTERN
nghttp2_hd_entry
*
nghttp2_hd_table_get
(
nghttp2_hd_context
*
context
,
size_t
index
);
NGHTTP2_EXTERN
nghttp2_hd_entry
*
nghttp2_hd_table_get
(
nghttp2_hd_context
*
context
,
size_t
index
);
/* For unittesting purpose */
ssize_t
nghttp2_hd_decode_length
(
uint32_t
*
res
,
size_t
*
shift_ptr
,
int
*
final
,
...
...
src/h2load.cc
View file @
3e53cd18
...
...
@@ -1029,16 +1029,13 @@ void print_help(std::ostream &out) {
Options:
-n, --requests=<N>
Number of requests.
Default: )"
<<
config
.
nreqs
<<
R"(
Default: )"
<<
config
.
nreqs
<<
R"(
-c, --clients=<N>
Number of concurrent clients.
Default: )"
<<
config
.
nclients
<<
R"(
Default: )"
<<
config
.
nclients
<<
R"(
-t, --threads=<N>
Number of native threads.
Default: )"
<<
config
.
nthreads
<<
R"(
Default: )"
<<
config
.
nthreads
<<
R"(
-i, --input-file=<PATH>
Path of a file with multiple URIs are separated by EOLs.
This option will disable URIs getting from command-line.
...
...
@@ -1055,15 +1052,13 @@ Options:
-w, --window-bits=<N>
Sets the stream level initial window size to (2**<N>)-1.
For SPDY, 2**<N> is used instead.
Default: )"
<<
config
.
window_bits
<<
R"(
Default: )"
<<
config
.
window_bits
<<
R"(
-W, --connection-window-bits=<N>
Sets the connection level initial window size to
(2**<N>)-1. For SPDY, if <N> is strictly less than 16,
this option is ignored. Otherwise 2**<N> is used for
SPDY.
Default: )"
<<
config
.
connection_window_bits
<<
R"(
Default: )"
<<
config
.
connection_window_bits
<<
R"(
-H, --header=<HEADER>
Add/Override a header to the requests.
--ciphers=<SUITE>
...
...
@@ -1081,8 +1076,7 @@ Options:
Available protocol: )"
;
#endif // !HAVE_SPDYLAY
out
<<
NGHTTP2_CLEARTEXT_PROTO_VERSION_ID
<<
R"(
Default: )"
<<
NGHTTP2_CLEARTEXT_PROTO_VERSION_ID
<<
R"(
Default: )"
<<
NGHTTP2_CLEARTEXT_PROTO_VERSION_ID
<<
R"(
-d, --data=<PATH>
Post FILE to server. The request method is changed to
POST.
...
...
@@ -1107,8 +1101,7 @@ Options:
-v, --verbose
Output debug information.
--version Display version information and exit.
-h, --help Display this help and exit.)"
<<
std
::
endl
;
-h, --help Display this help and exit.)"
<<
std
::
endl
;
}
}
// namespace
...
...
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