There was an error fetching the commit references. Please try again later.
Use struct sockaddr
Pass struct sockaddr to ngtcp2 so that it knows how to deal with address change in more detailed manner (e.g., just compare IP address without port).
Showing
- examples/client.cc 8 additions, 11 deletionsexamples/client.cc
- examples/network.h 4 additions, 4 deletionsexamples/network.h
- examples/server.cc 6 additions, 10 deletionsexamples/server.cc
- lib/includes/ngtcp2/ngtcp2.h 15 additions, 11 deletionslib/includes/ngtcp2/ngtcp2.h
- lib/ngtcp2_addr.c 28 additions, 4 deletionslib/ngtcp2_addr.c
- lib/ngtcp2_addr.h 2 additions, 1 deletionlib/ngtcp2_addr.h
- lib/ngtcp2_conn.c 2 additions, 2 deletionslib/ngtcp2_conn.c
- lib/ngtcp2_path.c 13 additions, 7 deletionslib/ngtcp2_path.c
- tests/main.c 2 additions, 0 deletionstests/main.c
- tests/ngtcp2_conn_test.c 189 additions, 178 deletionstests/ngtcp2_conn_test.c
- tests/ngtcp2_conn_test.h 2 additions, 0 deletionstests/ngtcp2_conn_test.h
- tests/ngtcp2_pv_test.c 3 additions, 2 deletionstests/ngtcp2_pv_test.c
- tests/ngtcp2_test_helper.c 20 additions, 0 deletionstests/ngtcp2_test_helper.c
- tests/ngtcp2_test_helper.h 7 additions, 0 deletionstests/ngtcp2_test_helper.h
Please register or sign in to comment