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
4fd9fa23
Commit
4fd9fa23
authored
Jul 24, 2019
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show ngtcp2 debug log with --verbose
parent
90314697
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/h2load_quic.cc
src/h2load_quic.cc
+5
-2
No files found.
src/h2load_quic.cc
View file @
4fd9fa23
...
@@ -386,6 +386,8 @@ void debug_log_printf(void *user_data, const char *fmt, ...) {
...
@@ -386,6 +386,8 @@ void debug_log_printf(void *user_data, const char *fmt, ...) {
va_start
(
ap
,
fmt
);
va_start
(
ap
,
fmt
);
vfprintf
(
stderr
,
fmt
,
ap
);
vfprintf
(
stderr
,
fmt
,
ap
);
va_end
(
ap
);
va_end
(
ap
);
fprintf
(
stderr
,
"
\n
"
);
}
}
}
// namespace
}
// namespace
...
@@ -588,8 +590,9 @@ int Client::quic_init(const sockaddr *local_addr, socklen_t local_addrlen,
...
@@ -588,8 +590,9 @@ int Client::quic_init(const sockaddr *local_addr, socklen_t local_addrlen,
ngtcp2_settings
settings
;
ngtcp2_settings
settings
;
ngtcp2_settings_default
(
&
settings
);
ngtcp2_settings_default
(
&
settings
);
settings
.
log_printf
=
debug_log_printf
;
if
(
config
->
verbose
)
{
settings
.
log_printf
=
nullptr
;
settings
.
log_printf
=
debug_log_printf
;
}
settings
.
initial_ts
=
timestamp
(
worker
->
loop
);
settings
.
initial_ts
=
timestamp
(
worker
->
loop
);
settings
.
max_stream_data_bidi_local
=
(
1
<<
config
->
window_bits
)
-
1
;
settings
.
max_stream_data_bidi_local
=
(
1
<<
config
->
window_bits
)
-
1
;
settings
.
max_stream_data_uni
=
(
1
<<
config
->
window_bits
)
-
1
;
settings
.
max_stream_data_uni
=
(
1
<<
config
->
window_bits
)
-
1
;
...
...
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