Marten Seemann
|
7a301aae3d
|
dequeue all 0-RTT packets to the session in one go
|
2021-01-09 13:34:05 +08:00 |
|
Marten Seemann
|
4f84c1b85a
|
Merge pull request #2934 from lucas-clemente/use-buffer-for-retries
use a buffer from the pool for composing Retry packets
|
2020-12-14 23:35:29 +07:00 |
|
Marten Seemann
|
019850efd6
|
use a buffer from the pool for composing Retry packets
|
2020-12-14 11:55:42 +07:00 |
|
Marten Seemann
|
fb995161e7
|
release the packet buffer after sending a CONNECTION_CLOSE in the server
|
2020-12-14 11:51:09 +07:00 |
|
Marten Seemann
|
4c25cea9ec
|
fix deadlock when closing the server and the connection at the same time
|
2020-10-29 17:56:14 +07:00 |
|
Marten Seemann
|
8752576f26
|
run gofumpt, enable the gofumpt linter
|
2020-10-26 09:33:35 +07:00 |
|
Marten Seemann
|
0615d92ede
|
only send Version Negotiation packets for packets larger than 1200 bytes
|
2020-10-08 16:22:39 +07:00 |
|
Marten Seemann
|
48d25fe95b
|
drop version negotiation packets in the server
|
2020-10-07 17:35:57 +07:00 |
|
Marten Seemann
|
350a3dbef8
|
rename confusingly named variable in the server
|
2020-10-07 17:26:54 +07:00 |
|
Marten Seemann
|
833027b065
|
introduce an ECNCapablePacketConn interface to determine ECN support
|
2020-09-15 14:41:06 +07:00 |
|
Marten Seemann
|
556bf18dbf
|
inject a random source into the token protector
|
2020-08-23 17:06:17 +07:00 |
|
Marten Seemann
|
c978b6050c
|
Merge pull request #2711 from lucas-clemente/validate-quic-config
disallow values above 2^60 for Config.MaxIncoming{Uni}Streams
|
2020-08-18 06:58:55 +07:00 |
|
Marten Seemann
|
69df425318
|
limit Config.MaxIncoming{Uni}Streams to 2^60
|
2020-08-11 18:42:32 +07:00 |
|
Marten Seemann
|
89417ab5ca
|
simplify the connection, rename it to sendConn
|
2020-08-09 19:24:04 +07:00 |
|
Marten Seemann
|
0c551c893c
|
trace packets that are sent outside of a connection
|
2020-07-16 08:20:36 +07:00 |
|
Marten Seemann
|
2f63bc0731
|
pass a logging.Tracer to the packet handler map
|
2020-07-15 20:45:36 +07:00 |
|
Marten Seemann
|
dc245ca6a3
|
trace dropped packets in the server
|
2020-07-15 20:33:58 +07:00 |
|
Marten Seemann
|
0d4aa4b34f
|
introduce a function receivedPacket.Size()
|
2020-07-15 19:30:10 +07:00 |
|
Marten Seemann
|
ee24d3899e
|
simplify the Tracer interface by combining the TracerFor... methods
|
2020-07-11 13:22:52 +07:00 |
|
Marten Seemann
|
a1bb39d6ab
|
introduce a protocol.StatelessResetToken
|
2020-07-10 19:55:20 +07:00 |
|
Marten Seemann
|
ac606222e0
|
replace the GetLogWriter quic.Config option by a Tracer interface
|
2020-07-01 16:57:03 +07:00 |
|
Marten Seemann
|
4121ea84f4
|
rename the logging.Tracer to ConnectionTracer
|
2020-07-01 16:57:01 +07:00 |
|
Marten Seemann
|
7fdace490c
|
rename qlogger (member) variables to tracer
|
2020-07-01 16:53:45 +07:00 |
|
Marten Seemann
|
78ba619a0b
|
split the qlog package into a logging and a qlog package
|
2020-07-01 16:49:24 +07:00 |
|
Marten Seemann
|
5eb2bb8b4c
|
Merge pull request #2640 from lucas-clemente/rewrite-version-negotiation-handling
handle Version Negotiation packets in the session
|
2020-07-01 15:24:19 +07:00 |
|
Marten Seemann
|
06ad477b9b
|
handle Version Negotiation packets in the session
|
2020-07-01 14:19:45 +07:00 |
|
Marten Seemann
|
7bcb25f18d
|
introduce an assertion in the server
|
2020-07-01 14:02:14 +07:00 |
|
Marten Seemann
|
2e9b92ab69
|
rename the SERVER_BUSY error to CONNECTION_REFUSED
|
2020-06-10 12:13:40 +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
|
b391cce35c
|
always send the original_destination_connection_id TP as a server
|
2020-05-29 19:50:14 +07:00 |
|
Marten Seemann
|
dad30e7c33
|
only create a single session for duplicate Initials
|
2020-05-29 16:04:45 +07:00 |
|
Marten Seemann
|
2e402ffc86
|
Merge pull request #2524 from lucas-clemente/fix-buffer-use-after-release
fix buffer use after it was released when sending an INVALID_TOKEN error
|
2020-05-05 19:14:39 +07:00 |
|
Marten Seemann
|
380ba4877b
|
make sure that the server's run loop returned when closing
|
2020-05-05 12:40:53 +07:00 |
|
Marten Seemann
|
aebf2386d0
|
fix buffer use after it was released when sending an INVALID_TOKEN error
|
2020-05-05 12:19:20 +07:00 |
|
Marten Seemann
|
f58eb47383
|
qlog when packets are dropped due to unsupported QUIC version
|
2020-04-10 14:39:02 +07:00 |
|
Marten Seemann
|
969abdd8d5
|
update the source connection ID when we created a session for an invalid Initial
|
2020-04-08 22:12:41 +07:00 |
|
Marten Seemann
|
b749357ece
|
pass the same connection ID to GetLogWriter for client and server
|
2020-03-25 18:21:28 +07:00 |
|
Marten Seemann
|
ef901e3435
|
use the current timestamp of every event in qlog
|
2020-03-23 16:25:42 +07:00 |
|
Marten Seemann
|
e57caf0bae
|
send an INVALID_TOKEN error when receiving an invalid token
|
2020-02-25 19:43:57 +07:00 |
|
Marten Seemann
|
73937e8753
|
Merge pull request #2349 from lucas-clemente/coalesced-packets
implement sending of coalesced packets
|
2020-02-20 16:53:33 +07:00 |
|
Marten Seemann
|
23059d5a68
|
Merge pull request #2280 from lucas-clemente/zero-rtt-queue
queue 0-RTT for 100ms to allow the corresponding Initial to arrive
|
2020-02-20 16:44:03 +07:00 |
|
Marten Seemann
|
d642bf9098
|
simplify content storage in packed packets
It's not necessary to store both the packetBuffer and the slice
containing the raw data in the packet.
|
2020-02-20 16:25:54 +07:00 |
|
Marten Seemann
|
14a5cc8ab4
|
add support for the connection_started event
|
2020-02-17 15:52:06 +07:00 |
|
Marten Seemann
|
643f0b4c67
|
drop incoming packets when the server's receive queue is full
|
2020-02-15 16:43:00 +07:00 |
|
Marten Seemann
|
2b7133a6e2
|
implement a queue for 0-RTT packets
|
2020-02-15 15:44:08 +07:00 |
|
Marten Seemann
|
b031615db5
|
export a qlog when the session's run loop stops
|
2020-02-12 10:42:37 +07:00 |
|
Marten Seemann
|
72c2f9464c
|
add a Clone() function to the Config
|
2020-02-11 13:03:19 +07:00 |
|
Marten Seemann
|
8ad95ce2d3
|
Merge pull request #2299 from lucas-clemente/server-run-loop
introduce a run loop in the server
|
2020-02-04 07:56:36 +01:00 |
|
Marten Seemann
|
93693349f3
|
collapse packetHandlerManager.Add and AddIfNotTaken into one function
|
2020-02-03 17:34:07 +01:00 |
|