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
f4276ce2
Commit
f4276ce2
authored
Jul 24, 2019
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle preferred address
parent
4fd9fa23
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
src/h2load_quic.cc
src/h2load_quic.cc
+8
-1
No files found.
src/h2load_quic.cc
View file @
f4276ce2
...
@@ -400,6 +400,13 @@ void generate_cid(ngtcp2_cid &dest) {
...
@@ -400,6 +400,13 @@ void generate_cid(ngtcp2_cid &dest) {
}
}
}
// namespace
}
// namespace
namespace
{
int
select_preferred_addr
(
ngtcp2_conn
*
conn
,
ngtcp2_addr
*
dest
,
const
ngtcp2_preferred_addr
*
paddr
,
void
*
user_data
)
{
return
0
;
}
}
// namespace
namespace
{
namespace
{
ngtcp2_tstamp
timestamp
(
struct
ev_loop
*
loop
)
{
ngtcp2_tstamp
timestamp
(
struct
ev_loop
*
loop
)
{
return
ev_now
(
loop
)
*
NGTCP2_SECONDS
;
return
ev_now
(
loop
)
*
NGTCP2_SECONDS
;
...
@@ -575,7 +582,7 @@ int Client::quic_init(const sockaddr *local_addr, socklen_t local_addrlen,
...
@@ -575,7 +582,7 @@ int Client::quic_init(const sockaddr *local_addr, socklen_t local_addrlen,
nullptr
,
// remove_connection_id
nullptr
,
// remove_connection_id
nullptr
,
// update_key
nullptr
,
// update_key
nullptr
,
// path_validation
nullptr
,
// path_validation
nullptr
,
// select_preferred_address
select_preferred_addr
,
h2load
::
stream_reset
,
h2load
::
stream_reset
,
nullptr
,
// extend_max_remote_streams_bidi
nullptr
,
// extend_max_remote_streams_bidi
nullptr
,
// extend_max_remote_streams_uni
nullptr
,
// extend_max_remote_streams_uni
...
...
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