Mark Spanbroek
6fc8545556
Fix: version negotiation packets contain a list of supported versions
2020-10-01 17:50:03 +02:00
Mark Spanbroek
d9daa2bbf1
Include Defect in the list of allowed exceptions
...
Reasoning: raising of Defect is tracked inconsistently in Nim,
so it is better to consistently indicate that it can be raised.
Disables compiler hints and warnings about Defect.
2020-09-30 09:20:32 +02:00
Mark Spanbroek
eeac07b11b
Determine the length of a short packet
2020-09-30 09:20:32 +02:00
Mark Spanbroek
2cb6762c98
Determines length of an initial packet
2020-09-30 09:20:32 +02:00
Mark Spanbroek
2039a8d66e
Determines length of 0-RTT packet
2020-09-30 09:20:32 +02:00
Mark Spanbroek
62422a610e
Determines length of a handshake packet
2020-09-30 09:20:32 +02:00
Mark Spanbroek
37d2e0364b
Determines length of a retry packet
2020-09-30 09:20:32 +02:00
Mark Spanbroek
60af5afb2e
Rename: packetLength -> len
2020-09-30 09:20:32 +02:00
Mark Spanbroek
afcf424e47
Rename: header -> packet
2020-09-23 15:04:49 +02:00
Mark Spanbroek
be3074f739
Split packets.nim into several files
2020-09-23 15:04:49 +02:00