Commit Graph

3024 Commits

Author SHA1 Message Date
Marten Seemann
05ecf9bc02 rename the STREAM_BLOCKED frame to STREAM_DATA_BLOCKED 2018-11-10 09:05:27 +07:00
Marten Seemann
387613aa20 rename the BLOCKED from to DATA_BLOCKED 2018-11-10 09:05:06 +07:00
Marten Seemann
4d3bafd44d Merge pull request #1587 from lucas-clemente/fix-stream-allowance
fix stream limit increase in the case of many open streams
2018-11-08 17:57:28 +07:00
Marten Seemann
c671e7b79c Merge pull request #1588 from lucas-clemente/renumber-transport-parameters
renumber transport parameters
2018-11-08 17:40:56 +07:00
Marten Seemann
6da4ef356f rename the initial stream limit transport parameters 2018-11-08 16:21:26 +07:00
Marten Seemann
f8612cda2c renumber the transport parameters 2018-11-08 16:19:45 +07:00
Marten Seemann
e7b6d6af00 fix stream limit increase in the case of many open streams 2018-11-08 15:09:11 +07:00
Marten Seemann
768004c4bc Merge pull request #1578 from lucas-clemente/transport-parameter-validity-check
check the validity of transport parameters when unmarshalling
2018-11-05 16:47:37 +07:00
Marten Seemann
c302d8ff81 check the validity of transport parameters when unmarshalling 2018-11-05 15:37:22 +07:00
Marten Seemann
8cdb903a1c Merge pull request #1584 from lucas-clemente/varint-transport-parameters
use varints for numeric transport parameters
2018-11-05 15:30:14 +07:00
Marten Seemann
cfc7c45f94 Merge pull request #1577 from lucas-clemente/remove-quic-clemente-io-from-client
replace quic.clemente.io by localhost in the client unit tests
2018-11-05 15:29:46 +07:00
Marten Seemann
b9eaa4f059 Merge pull request #1582 from lucas-clemente/rename-rst-stream-frame
rename the RST_STREAM frame to RESET_STREAM frame
2018-11-05 15:29:27 +07:00
Marten Seemann
66a72a1199 use varints for numeric transport parameters 2018-11-05 12:33:32 +07:00
Marten Seemann
022189dfda rename the RST_STREAM frame to RESET_STREAM frame 2018-11-04 12:26:02 +07:00
Marten Seemann
7087a16c7f Merge pull request #1573 from lucas-clemente/remove-hdr-from-frame-parsing
remove the header parameter for parsing frames
2018-11-03 09:35:14 +07:00
Marten Seemann
ce257f3f23 replace quic.clemente.io by localhost in the client unit tests 2018-11-03 09:31:45 +07:00
Marten Seemann
2eed03c747 remove the header parameter for parsing frames
It was only needed for parsing STOP_WAITING frames.
2018-11-03 09:23:22 +07:00
Marten Seemann
f0354c0d94 Merge pull request #1574 from lucas-clemente/one-packet-unpacker
combine packetUnpackerBase and packetUnpacker
2018-11-02 19:18:49 +07:00
Marten Seemann
bc359abf73 Merge pull request #1572 from lucas-clemente/remove-dup-streamsMap-init
remove duplicate initialization of the streamsMap
2018-11-02 19:01:21 +07:00
Marten Seemann
90c538bae4 combine packetUnpackerBase and packetUnpacker
The split was only needed for unpacking gQUIC packets.
2018-11-02 18:30:33 +07:00
Marten Seemann
a915c24354 remove duplicate initialization of the streamsMap 2018-11-02 18:27:24 +07:00
Marten Seemann
01abf92854 Merge pull request #1570 from lucas-clemente/move-pngen
move the packet number generator to the ackhandler package
2018-11-02 17:42:07 +07:00
Marten Seemann
dbbbfd955e move tracking of skipped packets to the packet number generator 2018-11-02 17:14:31 +07:00
Marten Seemann
c81cd92daf return the packet number length when peek a new packet number 2018-11-02 17:14:31 +07:00
Marten Seemann
ebbf839fa4 move the packet number generator to the ackhandler package 2018-11-02 17:14:31 +07:00
Marten Seemann
16848038be remove unnecessary initial packet number parameter 2018-11-02 17:14:31 +07:00
Marten Seemann
a18b5c0335 Merge pull request #1576 from lucas-clemente/fix-crypto-setup-test
fix go routine leak in crypto setup test
2018-11-02 17:13:15 +07:00
Marten Seemann
0fac716274 fix go routine leak in crypto setup test 2018-11-02 16:46:57 +07:00
Marten Seemann
4c7c6c3f16 Merge pull request #1575 from lucas-clemente/remove-quic-clients
don't import the quic-clients for the self integration test
2018-11-02 16:24:20 +07:00
Marten Seemann
5f5be50fbd Merge pull request #1571 from lucas-clemente/fix-travis-config
fix Travis configuration to actually run the integration tests
2018-11-02 16:01:57 +07:00
Marten Seemann
13b4781d0f don't import the quic-clients for the self integration test 2018-11-02 16:01:16 +07:00
Marten Seemann
3f3fe2b4d9 fix Travis configuration to actually run the integration tests 2018-11-01 18:14:34 +07:00
Marten Seemann
257c4732c3 Merge pull request #1566 from lucas-clemente/better-stream-helpers
simplify the streamsMap by using the stream helper functions
2018-11-01 16:22:20 +07:00
Marten Seemann
2bfe8d0b77 Merge pull request #1568 from lucas-clemente/close-frames
implement changes to the CONNECTION_CLOSE frame
2018-11-01 15:51:14 +07:00
Marten Seemann
44243b4f52 use the stream helper function in the streamsMap 2018-11-01 15:50:47 +07:00
Marten Seemann
5768b492d7 introduce a type for unidirctional and bidirectional streams 2018-11-01 15:50:47 +07:00
Marten Seemann
4e87fb4456 Merge pull request #1565 from lucas-clemente/fix-1449
split the flow control transport parameters
2018-11-01 15:50:13 +07:00
Marten Seemann
0f25fbd15b Merge pull request #1569 from lucas-clemente/remove-header-len-error-return
remove the error return value from wire.Header.GetLength()
2018-11-01 15:49:52 +07:00
Marten Seemann
716e8f2d0a remove the error return value from wire.Header.GetLength
Using an invalid packet number length would error on Header.Write(), so
it's not necessary to check this on GetLength().
2018-11-01 13:49:36 +07:00
Marten Seemann
9981026839 split the flow control transport parameters 2018-11-01 13:09:29 +07:00
Marten Seemann
73ac6b14bf implement changes to the CONNECTION_CLOSE frame 2018-10-31 11:21:51 +07:00
Marten Seemann
f82c583957 make the error code a uint16 2018-10-31 10:49:44 +07:00
Marten Seemann
c1a4d3d215 Merge pull request #1562 from lucas-clemente/flow-control-transport-parameters
split the initial flow control transport parameters
2018-10-30 16:32:34 +07:00
Marten Seemann
14a4464266 implement some stream ID helper functions 2018-10-30 12:52:48 +07:00
Marten Seemann
a1acfc3045 rename {Stream,Connection}FlowControlWindow to InitialMax{Stream}Data 2018-10-30 12:52:42 +07:00
Marten Seemann
74c5e9a26c move the definition of transport parameter IDs 2018-10-30 10:37:33 +07:00
Marten Seemann
71db96a486 Merge pull request #1560 from lucas-clemente/drop-gquic
drop support for gQUIC
2018-10-30 10:36:04 +07:00
Marten Seemann
3266e36811 drop support for gQUIC 2018-10-30 10:20:39 +07:00
Marten Seemann
8f8ed03254 Merge pull request #1558 from lucas-clemente/remove-handshake-complete-chan
don't pass the handshakeCompleteChan to the TLS crypto setup
2018-10-29 18:05:31 +07:00
Marten Seemann
1227dc8a24 remove the handshakeCompleteChan from the TLS crypto setup
In TLS, we know that the handshake completed when RunHandshake() returns.
2018-10-29 17:33:06 +07:00