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
50ae0ce7
Commit
50ae0ce7
authored
Aug 19, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'LPardue-h2load'
parents
2e643424
cd475822
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
210 additions
and
39 deletions
+210
-39
src/h2load.cc
src/h2load.cc
+205
-39
src/h2load.h
src/h2load.h
+5
-0
No files found.
src/h2load.cc
View file @
50ae0ce7
This diff is collapsed.
Click to expand it.
src/h2load.h
View file @
50ae0ce7
...
...
@@ -62,6 +62,7 @@ struct Worker;
struct
Config
{
std
::
vector
<
std
::
vector
<
nghttp2_nv
>>
nva
;
std
::
vector
<
std
::
vector
<
const
char
*>>
nv
;
std
::
vector
<
ev_tstamp
>
timings
;
nghttp2
::
Headers
custom_headers
;
std
::
string
scheme
;
std
::
string
host
;
...
...
@@ -91,11 +92,14 @@ struct Config {
uint16_t
port
;
uint16_t
default_port
;
bool
verbose
;
bool
timing_script
;
std
::
string
base_uri
;
Config
();
~
Config
();
bool
is_rate_mode
()
const
;
bool
has_base_uri
()
const
;
};
struct
RequestStat
{
...
...
@@ -208,6 +212,7 @@ struct Client {
std
::
function
<
int
(
Client
&
)
>
readfn
,
writefn
;
Worker
*
worker
;
SSL
*
ssl
;
ev_timer
request_timeout_watcher
;
addrinfo
*
next_addr
;
size_t
reqidx
;
ClientState
state
;
...
...
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