Commit graph

18 commits

Author SHA1 Message Date
Lucas Clemente
d1d4dbde2c update public header parsing to version 33
refs #51
2016-05-05 00:54:29 +02:00
Lucas Clemente
a126e0e606 refactor session to support very basic packet pacing 2016-04-25 14:59:26 +02:00
Lucas Clemente
b17d9a7e55 change public header to correctly state 48bit packet numbers 2016-04-21 17:02:15 +02:00
Lucas Clemente
6d9d9a1c29 send packet numbers with 6byte for simpler session tests 2016-04-20 17:13:06 +02:00
Marten Seemann
23f0d8d6e9 read the STOP_WAITING frame 2016-04-16 01:03:09 +07:00
Lucas Clemente
b6c9c9b6a4 introduce protocol/version.go and remove big endian functions 2016-04-15 18:46:39 +02:00
Lucas Clemente
04921c29af introduce ConnectionID type 2016-04-14 19:39:49 +02:00
Lucas Clemente
49ccd0bb01 don't accept 0-byte connection IDs since we are a server 2016-04-14 17:56:31 +02:00
Lucas Clemente
3d767401d0 introduce PacketNumber type & protocol package 2016-04-14 10:29:21 +02:00
Marten Seemann
703aad12c0 make WritePublicHeader set the VersionFlag and the ResetFlag 2016-04-14 14:28:16 +07:00
Marten Seemann
5b78f1613c add function to read and write uint32 big endians, use it for the QuicVersion 2016-04-14 13:35:25 +07:00
Lucas Clemente
df96797e9c fix an error reading n-byte integers 2016-04-11 14:41:21 +02:00
Lucas Clemente
ab14684299 implement basic public header writing 2016-04-10 20:23:36 +02:00
Lucas Clemente
4a44e4982e move utils.go to its own package so that it's available for aeads 2016-04-10 20:23:15 +02:00
Lucas Clemente
07f5daa7ba remove lengths from public header struct 2016-04-10 20:02:35 +02:00
Lucas Clemente
3492497230 improve util functions 2016-04-08 19:28:14 +02:00
Lucas Clemente
1f30d50418 move readUint64 to new file utils.go 2016-04-08 12:10:21 +02:00
Lucas Clemente
cfccdaed9b add public header parser 2016-04-06 23:10:52 +02:00