Ludovic Orban
|
a12a2f34e5
|
clean up alpn protocol configuration
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
82960f417e
|
clean up alpn protocol configuration
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
89369b9c25
|
introduce char_pointer native type
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
c2335c1e77
|
throw a specific exception on token validation error
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
a4e4872a9a
|
notify and cleanup when quic connection is refused
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
29b2f8fa8a
|
add a way to build a connection id object from a cid array
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
e1ceffe25a
|
make onClose overridable and null-safe
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
4908b0676a
|
do not close when QuicConnection gets an exception as it is shared by multiple quic connections
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
56d5a6a101
|
fix checkstyle
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
ecfffe5f66
|
make quic token minting and validation pluggable
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
44606d94be
|
rename connectors
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
0ab056238b
|
force selector count to 1
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
2e5ff2ddc3
|
remove unneeded parameter
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
a2cb2a69e6
|
make server use common classes
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
8315ba5815
|
make client use common classes
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
7d303b14c8
|
better align client and server quic sessions
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
a1b4eafc73
|
better align client and server quic connections
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
e8376a1a21
|
cleanup
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
669ae8ff1b
|
move datagram endpoint to common module
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
ca4562ca8e
|
cleanup SelectorManager accept FSM
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
3c1f1d3fe0
|
rename client datagram connector
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
c562262768
|
cleanup SelectorManager connect FSM
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
16cbcc0e4f
|
HttpDestination can now be told to use cleartext even when the scheme is secure
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
c19988af28
|
create stream 0 when client connection is set up
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
6b3ad74ae6
|
fix NPE during dispose
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
c8e66daefe
|
kinda sorta done the piping work up to Session.process()
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
c8d7bf01e1
|
better align client and server impls
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
2fcaad0cd8
|
add big file download test
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
e6cd0bae64
|
start quic client plumbing
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
fe5c65820d
|
introduce IClientConnector interface
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
17d28ea0c4
|
fix lifecycle on unrecoverable network error
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
6267089b4f
|
replace InetSocketAddress decoding/encoding with side-stack argument passing
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
ee900b1a8d
|
replace InetSocketAddress decoding/encoding with side-stack argument passing
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
62eed58afb
|
improve pkcs12 -> pem convertor
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
6ae2fcde13
|
code alignment
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
eec497e0a9
|
move the execution strategy from connection to session
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
6b07965b9a
|
minor refactoring
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
bfed7a5dfb
|
add comment
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
6d0f7b6077
|
change test logs to INFO
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
22cf07dea8
|
improvements about how tasks are dispatched
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
90fbd977d7
|
add protection against using a freed quiche connection
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
69b7fe2887
|
force loading libquiche early
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
5a5ffd65e8
|
fix buffers clearing and releasing on looping
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
14c6143cdb
|
fix a couple connection closing bugs
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
432eddf583
|
dispatch session readable events to EWYK
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
55657e3ea1
|
fix default value of _currentInterestOps
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
36e72019c9
|
improve flush() logging and impl
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
4b20324418
|
remove unneeded fillable flag
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
23c476cef6
|
fill can actually return -1
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |
Ludovic Orban
|
fc25540331
|
align ServerDatagramEndPoint with SocketChannelEndPoint
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
|
2021-12-20 09:33:38 +01:00 |