Marten Seemann
|
fbe8844006
|
remove some unneccessary type conversions
|
2019-02-27 19:30:55 +09:00 |
|
Marten Seemann
|
a303ad9745
|
always send ACKs in the correct packet number space
|
2019-01-11 11:12:07 +07:00 |
|
Marten Seemann
|
516b427d46
|
don't set a timer when the deadline is the zero value
|
2018-12-18 22:06:57 +06:30 |
|
Marten Seemann
|
072b84870c
|
don't fire a newly created timer
|
2018-12-18 22:06:57 +06:30 |
|
Marten Seemann
|
bfb467e9b8
|
use the new packet number format
|
2018-11-26 23:05:55 +07:00 |
|
Marten Seemann
|
52380835b9
|
implement a WriteUintN function
|
2018-11-26 23:05:51 +07:00 |
|
Marten Seemann
|
6058f580be
|
remove unused ReadUint64 and WriteUint64 functions
|
2018-11-26 16:48:36 +07:00 |
|
Marten Seemann
|
9d06b2cfff
|
retransmit the CONNECTION_CLOSE packet when late packets arrive
|
2018-11-15 16:52:02 +07:00 |
|
Marten Seemann
|
3266e36811
|
drop support for gQUIC
|
2018-10-30 10:20:39 +07:00 |
|
Marten Seemann
|
bd6fd979a4
|
implement parsing and writing of varint packet numbers
|
2018-06-05 22:18:35 +02:00 |
|
Marten Seemann
|
d06957b8d8
|
implement a prefix logger
|
2018-05-29 20:52:03 +08:00 |
|
Marten Seemann
|
2b97fb41c9
|
switch to a byte-based congestion controller
Chrome removed the packet-based congestion controller and switched to
byte-based as well.
|
2018-05-02 23:45:23 +09:00 |
|
Marten Seemann
|
af8971d8c9
|
move connection ID generation from the utils to the protocol package
|
2018-04-17 20:21:06 +09:00 |
|
Marten Seemann
|
948eef3e42
|
create a logger interface and use it everywhere
|
2018-04-04 13:03:28 +07:00 |
|
Marten Seemann
|
7346d12d6c
|
use Genny to generate typed lists, based on Go standard library code
|
2018-03-30 15:12:09 +07:00 |
|
Marten Seemann
|
81974d30d6
|
run gosimple in gometalinter
|
2018-02-23 22:42:32 +08:00 |
|
Marten Seemann
|
9ef3a47da5
|
send multiple packets at once, if the pacing delay is very small
This is an optimization to avoid waking of the run loop every couple of
microseconds.
|
2018-01-23 09:13:44 +11:00 |
|
Marten Seemann
|
c3cc35363b
|
fire the timer twice, if reset to the same deadline
|
2018-01-21 14:10:15 +11:00 |
|
Marten Seemann
|
f8cbb0ae03
|
remove unused utils.GetByteOrder
This function was needed when we supported both Q039 (using big endian
encoding) and ealier versions (using little endian encoding).
|
2017-12-08 11:33:40 +07:00 |
|
Marten Seemann
|
0ac728f96e
|
implement the new variable integer length encoding
|
2017-12-08 09:18:54 +07:00 |
|
Marten Seemann
|
095c29dc2c
|
drop support for QUIC 37 and 38
|
2017-11-07 00:23:53 +07:00 |
|
Marten Seemann
|
aba1dd13ba
|
only use little endian byte order for gQUIC 37 and 38
That way, when adding new non-gQUIC versions, they will use big endian.
|
2017-11-02 16:46:22 +07:00 |
|
Marten Seemann
|
9633ffa06f
|
accept lower case log levels for the QUIC_GO_LOG_LEVEL flag
|
2017-09-28 15:12:21 +07:00 |
|
Marten Seemann
|
e729701a94
|
drop support for version 36
|
2017-09-25 20:07:34 +07:00 |
|
Marten Seemann
|
f1ada87dcf
|
make the protocol package internal
|
2017-08-30 00:19:44 +07:00 |
|
Marten Seemann
|
dd0daaaf1e
|
implement version-dependent parsing of the Public Header
|
2017-08-23 16:00:45 +07:00 |
|
Marten Seemann
|
604c6ae406
|
implement an utils.BigEndian
|
2017-08-23 15:57:35 +07:00 |
|
Marten Seemann
|
05fde42e2d
|
panic if the value for WriteUint48, WriteUint40, WriteUint24 is too big
Note that it's not possible to write a couple of frame types for packet
numbers that don't fit into 6 bytes. The IETF QUIC draft fixes this.
|
2017-08-23 15:57:35 +07:00 |
|
Marten Seemann
|
2330ac0497
|
introduce an utils.LittleEndian
|
2017-08-23 15:57:35 +07:00 |
|
Marten Seemann
|
beadeb9da7
|
use sort.Slice to sort the tags in the handshake message
sort.Slice was added in Go 1.8. Now that we've dropped support for Go
1.7, we can make use of it.
|
2017-08-02 12:00:52 +07:00 |
|
Marten Seemann
|
33260d91a2
|
fix timestamp test such that it works in all timezones
|
2017-07-15 11:23:42 +07:00 |
|
Marten Seemann
|
03ee31d26b
|
make the log level env variable a string
|
2017-06-11 12:01:38 +02:00 |
|
Marten Seemann
|
7bad019ac2
|
order log levels ascending
Make the log level numbers more intuitive. Logging nothing is now log
level 0, debug logging is level 3.
|
2017-06-11 12:01:37 +02:00 |
|
Marten Seemann
|
c0b09c8646
|
make utils an internal package
|
2017-06-09 22:28:40 +02:00 |
|