Commit Graph

12 Commits

Author SHA1 Message Date
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