Marten Seemann
b928ad7e4f
fix flaky INVALID_TOKEN integration test
2020-06-18 09:55:24 +07:00
Marten Seemann
c956ca4447
Merge pull request #2608 from lucas-clemente/packet-handler-map-logging
...
add debug logging to the packet handler map
2020-06-17 16:52:30 +07:00
Marten Seemann
76d7e9f024
add debug logging to the packet handler map
2020-06-17 13:04:34 +07:00
Marten Seemann
10d0b478d0
Merge pull request #2605 from lucas-clemente/increase-min-pacing-delay
...
increase the minimum pacing delay to 1ms
2020-06-16 11:29:27 +07:00
Marten Seemann
543c1049dd
increase the minimum pacing delay to 1ms
2020-06-15 10:14:55 +07:00
Marten Seemann
5f9fc462ea
Merge pull request #2600 from lucas-clemente/update-alpn
...
update the ALPN for draft-29
2020-06-12 10:25:55 +07:00
Marten Seemann
5f37327f1d
update the ALPN for draft-29
2020-06-12 10:06:23 +07:00
Marten Seemann
cdf7e06ff1
Merge pull request #2587 from lucas-clemente/update-salts-for-draft-29
...
update initial salts and test vectors for draft-29
2020-06-11 18:50:22 +07:00
Marten Seemann
552b4a8db0
Merge pull request #2596 from lucas-clemente/connection-refused
...
rename the SERVER_BUSY error to CONNECTION_REFUSED
2020-06-11 18:17:38 +07:00
Marten Seemann
80e5061243
Merge pull request #2591 from lucas-clemente/reduce-flowcontrol-time-now-calls
...
reduce calls to time.Now() from the flow controller
2020-06-11 17:11:21 +07:00
Marten Seemann
4103e05b36
Merge pull request #2592 from lucas-clemente/remove-redundant-parenthesis
...
remove redundant parenthesis and type conversion in flow controller
2020-06-11 17:11:03 +07:00
Marten Seemann
87ed3f2ba9
Merge pull request #2588 from lucas-clemente/retry-rtt
...
use the receipt of a Retry packet to get a first RTT estimate
2020-06-11 17:10:06 +07:00
Marten Seemann
34ce5bb8b3
Merge pull request #2594 from lucas-clemente/fix-early-session-debug-message
...
fix debug message when returning an early session
2020-06-11 17:09:44 +07:00
Marten Seemann
2e9b92ab69
rename the SERVER_BUSY error to CONNECTION_REFUSED
2020-06-10 12:13:40 +07:00
Marten Seemann
63e1153d4a
fix debug message when returning an early session
2020-06-08 08:52:30 +07:00
Marten Seemann
cea61e364d
remove redundant parenthesis and type conversion in flow controller
2020-06-07 11:46:03 +07:00
Marten Seemann
66eeff040b
reduce calls to time.Now() from the flow controller
2020-06-07 10:46:24 +07:00
Marten Seemann
6299ef3ab1
use the receipt of a Retry packet to get a first RTT estimate
2020-06-05 16:29:23 +07:00
Marten Seemann
e193568342
update initial salts and test vectors for draft-29
2020-06-05 09:54:14 +07:00
Marten Seemann
05514ab375
Merge pull request #2584 from lucas-clemente/http-body-fixes
...
fix closing of the http.Request.Body
2020-06-04 16:05:13 +07:00
Marten Seemann
b9f26ac99d
Merge pull request #2576 from lucas-clemente/split-pto-calculation
...
split PTO calculation into a separate function
2020-06-03 16:11:56 +07:00
Marten Seemann
94971976cd
Merge pull request #2585 from lucas-clemente/chacha20-test-vector
...
add a unit test using the ChaCha20 test vector from the draft
2020-06-03 16:11:36 +07:00
Marten Seemann
ff5d0b89fc
Merge pull request #2583 from lucas-clemente/fix-frame-sorter-test-seed-generation
...
fix seed generation in frame sorter tests
2020-06-03 15:55:00 +07:00
Marten Seemann
28fd878778
add a unit test using the ChaCha20 test vector from the draft
2020-06-03 10:02:15 +07:00
Marten Seemann
83695e6f71
don't close the stream when the http.Request.Body is closed
...
On the server side, the http.Request is consumed by the HTTP handler.
The HTTP handler may close the body (it doesn't have to though). In any
case, closing the stream is the wrong thing to do, since that closes the
write side of the stream. All we want to do is cancel the stream (if the
EOF hasn't been read yet).
2020-06-02 14:54:21 +07:00
Marten Seemann
5720053807
simplify stream handling in the http3.Server
2020-06-02 14:39:48 +07:00
Marten Seemann
dda9c27d07
only send a single packet to unblock the server during the handshake
2020-06-01 12:39:36 +07:00
Marten Seemann
d137e7672d
implement a GetPTOTimeAndSpace() as outlined in the draft
2020-06-01 11:18:57 +07:00
Marten Seemann
96acf36cbd
rename sentPacketHandler.getEarliestLossTimeAndSpace to getLossTimeAndSpace
2020-06-01 11:18:57 +07:00
Marten Seemann
feb3e9a713
rename lastSentAckElicitingPacketTime to lastAckElicitingPacketTime
2020-06-01 11:18:57 +07:00
Marten Seemann
c8e5bb5b50
Merge pull request #2543 from lucas-clemente/bundle-acks
...
make sure that ACK frames are bundled with data
2020-06-01 10:15:26 +07:00
Marten Seemann
004d372ed6
fix seed generation in frame sorter tests
2020-06-01 09:59:54 +07:00
Marten Seemann
b91874a0e5
add an integration test testing that ACKs are bundled
2020-06-01 09:56:07 +07:00
Marten Seemann
9177500096
bundle ACK frames when packing a packet
2020-06-01 09:56:06 +07:00
Marten Seemann
fa381fffa0
add a function to tell if the framer has data
2020-06-01 09:31:11 +07:00
Marten Seemann
df55c30c86
add a function to tell if there's app data in the retransmission queue
2020-06-01 09:31:11 +07:00
Marten Seemann
77b1021a54
make it possible to generate an ACK frame, even if no ACK is queued yet
2020-06-01 09:31:11 +07:00
Marten Seemann
bee5ef624f
determine if a received packet is new (and not a duplicate / delayed packet)
2020-06-01 09:31:11 +07:00
Marten Seemann
f54953fb1d
Merge pull request #2582 from lucas-clemente/add-v0.16-changelog
...
add a Changelog for v0.16
2020-05-31 14:02:44 +07:00
Marten Seemann
ce40a7e28b
Merge pull request #2567 from lucas-clemente/authenticate-connection-ids
...
authenticate connection IDs
2020-05-31 14:01:58 +07:00
Marten Seemann
90acaf85d9
Merge pull request #2581 from lucas-clemente/fix-early-retransmit
...
don't switch to PTO mode after using early loss detection
2020-05-31 13:47:36 +07:00
Marten Seemann
5d55a9a3ab
add a Changelog for v0.16
2020-05-31 11:02:09 +07:00
Marten Seemann
64ef72fd68
don't switch to PTO mode after early retransmit
2020-05-31 10:47:13 +07:00
Marten Seemann
ee8a0aeb1b
improve unit tests for early retransmit
2020-05-31 10:43:04 +07:00
Marten Seemann
4f19b15670
set and verify the retry_source_connection_id TP
2020-05-29 19:57:39 +07:00
Marten Seemann
cdb22513f3
save the source conn ID used on the Retry packet in the Retry token
2020-05-29 19:50:14 +07:00
Marten Seemann
f1924b3182
qlog the retry_source_connection_id TP
2020-05-29 19:50:14 +07:00
Marten Seemann
4451f3bf5c
marshal and unmarshal the retry_source_connection_id TP
2020-05-29 19:50:14 +07:00
Marten Seemann
fb2a5f413e
set and verify the initial_source_connection_id
2020-05-29 19:50:14 +07:00
Marten Seemann
a9dc1e49ab
qlog the initial_source_connection_id TP
2020-05-29 19:50:14 +07:00