Commit Graph

  • 923ad8d530 Enforce that connection and stream states cannot be entered more than once Mark Spanbroek 2020-12-22 16:37:02 +0100
  • f279f87dd1 Introduce Connection.waitClosed() Mark Spanbroek 2020-12-21 14:59:08 +0100
  • 7b7557184b Switch to draining state when ngtcp2 indicates it Mark Spanbroek 2020-12-21 14:39:50 +0100
  • 2cdd6f2fec Send close datagram when entering closing state Mark Spanbroek 2020-12-21 14:38:20 +0100
  • afc3336278 Remove close event on QuicConnection Mark Spanbroek 2020-12-21 14:37:20 +0100
  • cb5779637f New state for quic connection: disconnecting Mark Spanbroek 2020-12-21 14:35:12 +0100
  • b155a6c682 Ensure that all ids of a connection are removed Mark Spanbroek 2020-12-21 14:01:19 +0100
  • d71e17603f Split DrainingConnection and ClosingConnection Mark Spanbroek 2020-12-17 14:14:56 +0100
  • 1219215e79 Rename: DrainingConnection -> ClosingConnection Mark Spanbroek 2020-12-17 14:07:17 +0100
  • e67269b412 Move stream sending code to ngtcp2/connection module Mark Spanbroek 2020-12-17 13:04:51 +0100
  • 942c880f0f Remove dead code Mark Spanbroek 2020-12-17 12:39:35 +0100
  • 0efc8cddc1 Replace handshake event by callback on Ngtcp2Connection Mark Spanbroek 2020-12-17 12:30:02 +0100
  • 6ac968740c Remove duplication between quicclient and quicserver Mark Spanbroek 2020-12-17 12:24:22 +0100
  • 8ed7debbe3 Replace outgoing queue by callback in Ngtcp2Connection Mark Spanbroek 2020-12-17 12:17:25 +0100
  • 0f131065cb Remove dead code Mark Spanbroek 2020-12-17 10:15:41 +0100
  • 52580398f4 QuicConnection fires event when closed Mark Spanbroek 2020-12-17 09:28:45 +0100
  • 6ba568ae02 Combine testNgtcp2Connection & testQuicConnection Mark Spanbroek 2020-12-16 17:38:12 +0100
  • fba3171660 Fix onNewId() and onRemoveId() for QuicConnection Mark Spanbroek 2020-12-16 17:35:59 +0100
  • 429c3df2ff Run tests against QuicConnection, instead of Ngtcp2Connection Mark Spanbroek 2020-12-16 17:25:11 +0100
  • cf6271d07c Use Datagram parameter instead of openArray Mark Spanbroek 2020-12-16 16:58:49 +0100
  • ab4fa248b7 Fix warnings about lock level Mark Spanbroek 2020-12-16 16:07:23 +0100
  • d8306c14c9 Add unit test for example in Readme Mark Spanbroek 2020-12-16 10:47:50 +0100
  • 400f1c3ef5 Add allSucceeded() to async test helper. Mark Spanbroek 2020-12-16 10:47:38 +0100
  • 55ffe8495e Remember final connection ids when draining Mark Spanbroek 2020-12-16 15:08:03 +0100
  • 9760f410ea Listener handles incoming datagrams synchrononously Mark Spanbroek 2020-12-16 14:52:26 +0100
  • 25d068bbed Add Connection.close() Mark Spanbroek 2020-12-16 14:39:36 +0100
  • 65250919fa Replace QuicConnection.close() with QuicConnection.drain() Mark Spanbroek 2020-12-16 13:50:13 +0100
  • dadd6bc6b9 Close connection gracefully Mark Spanbroek 2020-12-16 10:46:49 +0100
  • abb3702653 Simplify connection states Mark Spanbroek 2020-12-16 09:46:37 +0100
  • 183dc1f26c Simplify stream states Mark Spanbroek 2020-12-16 09:35:54 +0100
  • fb0bf02edd Replace object of procs with methods for stream state Mark Spanbroek 2020-12-15 16:01:03 +0100
  • 21213286cc Replace object of procs with methods for connection state Mark Spanbroek 2020-12-15 15:48:13 +0100
  • 8513c9c1cd Add tests for connection in closed state Mark Spanbroek 2020-12-15 13:59:28 +0100
  • bd1f05badb Rename tests to better describe the current situation Mark Spanbroek 2020-12-15 11:50:56 +0100
  • ec8377fec6 Introduce closed state for connections Mark Spanbroek 2020-12-15 11:50:21 +0100
  • 72eea51bbd Rename stream state constructors Mark Spanbroek 2020-12-15 11:26:18 +0100
  • cccc82ae7b Rename ngtcp2 connection constructors Mark Spanbroek 2020-12-15 11:22:52 +0100
  • 4eec9b365c Introduce state pattern for Quic Connections Mark Spanbroek 2020-12-15 11:16:09 +0100
  • aff98e3a25 Separate udp, transport and helper folders Mark Spanbroek 2020-12-14 16:28:06 +0100
  • f19a0f8411 Introduce state pattern for Streams Mark Spanbroek 2020-12-14 09:21:45 +0100
  • 34c4c62dc1 Rename: Connection.close() -> Connection.drop() Mark Spanbroek 2020-12-10 09:51:23 +0100
  • 89067fdcac Add examples and update roadmap in Readme Mark Spanbroek 2020-12-03 16:25:00 +0100
  • 8f501519a2 Api for reading from and writing to streams Mark Spanbroek 2020-12-03 13:53:33 +0100
  • 011efbc6ac Remove connection ids when they expire Mark Spanbroek 2020-12-03 12:05:08 +0100
  • 4b31489df3 Remove ids from listener when closing connection Mark Spanbroek 2020-12-03 11:49:33 +0100
  • b7d5880285 Move most of the logic from api into listener and connection Mark Spanbroek 2020-12-03 10:26:01 +0100
  • 4c6163000b Do not close udp listening socket when closing connection Mark Spanbroek 2020-12-03 09:33:41 +0100
  • 57bebeefb9 Ensure that all connections are closed in listener test Mark Spanbroek 2020-12-03 09:14:22 +0100
  • e72fe37a75 Formatting Mark Spanbroek 2020-12-02 16:06:04 +0100
  • c7f956ca17 Listener only creates new connection for unknown connection id Mark Spanbroek 2020-12-02 15:55:55 +0100
  • ef00756949 Add test for listener Mark Spanbroek 2020-12-02 15:37:47 +0100
  • 29cde87ba0 Add test helper for sending udp datagrams Mark Spanbroek 2020-12-02 15:35:24 +0100
  • 6034697a4f Add async test helper for callback functions Mark Spanbroek 2020-12-02 15:34:36 +0100
  • eb3ca0feb8 Handle zero-length connection ids Mark Spanbroek 2020-12-02 15:33:41 +0100
  • c2e3fe70eb Accept multiple incoming connections Mark Spanbroek 2020-12-02 12:02:25 +0100
  • 9602d36588 Add Ngtcp2Connection.ids Mark Spanbroek 2020-12-02 11:55:45 +0100
  • 2b4056bea0 Prepare listener for upcoming addition of a connection table Mark Spanbroek 2020-12-02 10:26:29 +0100
  • 7b17dfa0e8 Rename: testConnection -> testApi Mark Spanbroek 2020-12-02 09:23:36 +0100
  • 9053a71ee9 Remove everything but the API from the main module Mark Spanbroek 2020-12-02 09:21:43 +0100
  • 47eeada700 Move API and Listener into separate modules Mark Spanbroek 2020-12-02 09:16:34 +0100
  • 6b0d470663 Callback for new connection ids Mark Spanbroek 2020-12-02 08:38:12 +0100
  • fb03f2b5a0 Introduce parseDatagram() to extract ids and version from packet Mark Spanbroek 2020-12-02 08:37:40 +0100
  • 2ae96feb6c Rewrite test that writes long message over stream Mark Spanbroek 2020-12-02 08:37:53 +0100
  • 916207d223 Do not bind DatagramTransport to remote address on init Mark Spanbroek 2020-12-02 08:35:08 +0100
  • 1f2e3c94ea Ensure that unexpected errors in send loops are raised immediately Mark Spanbroek 2020-11-30 16:36:25 +0100
  • 8e0432fac6 Introduce new API for setting up connections Mark Spanbroek 2020-11-25 17:58:51 +0100
  • b806c24373 Rename: Connection -> Ngtcp2Connection Mark Spanbroek 2020-11-25 14:10:54 +0100
  • 6eb5871758 Combine testConnection and testUdp Mark Spanbroek 2020-11-24 08:40:29 +0100
  • 17c4a63b27 Handle recoverable errors when receiving packets Mark Spanbroek 2020-11-27 16:49:17 +0100
  • dde23f98bb Improve check in stream write test Mark Spanbroek 2020-11-26 11:08:20 +0100
  • 32815b0f2e Do not fire handshake event on client until ngtcp calls 'handshake_confirmed' Mark Spanbroek 2020-11-26 11:06:37 +0100
  • c472b4da0b Handle recoverable errors when receiving packets Mark Spanbroek 2020-11-27 16:49:17 +0100
  • 4532fa901f Improve check in stream write test Mark Spanbroek 2020-11-26 11:08:20 +0100
  • f5d84881bf Do not fire handshake event on client until ngtcp calls 'handshake_confirmed' Mark Spanbroek 2020-11-26 11:06:37 +0100
  • c5108c6b47 Remove {.threadvar.} in async tests Mark Spanbroek 2020-11-25 11:34:15 +0100
  • 3c06acb627 Set CI timeout to 10 minutes Mark Spanbroek 2020-11-24 16:15:56 +0100
  • 3bfee1392b Ensure that timeout that triggers during `destroy` does not crash Mark Spanbroek 2020-11-23 16:42:43 +0100
  • 20a49550cd Remove DatagramBuffer alias Mark Spanbroek 2020-11-23 15:06:49 +0100
  • da332593f7 Rename: connections -> simulation Mark Spanbroek 2020-11-23 14:05:40 +0100
  • 02254ba9f3 Use chronos to provide timestamps Mark Spanbroek 2020-11-23 13:40:22 +0100
  • 24afeaedf3 Simplify Mark Spanbroek 2020-11-23 13:18:23 +0100
  • f8a11bf9f6 Avoid result variable Mark Spanbroek 2020-11-23 13:17:38 +0100
  • f8a9f40ef0 Explicitly call 'destroy' to free connection resources Mark Spanbroek 2020-11-23 13:00:30 +0100
  • d9e333ad28 Ensure that network loops stop when simulation is cancelled Mark Spanbroek 2020-11-23 12:59:09 +0100
  • a185837fb3 Avoid result variable Mark Spanbroek 2020-11-19 16:34:18 +0100
  • a75bbb433c Make imports explicit using the pkg/ and ./ prefixes Mark Spanbroek 2020-11-19 15:45:53 +0100
  • 59005f46af Introduce proc that installs handshake callback Mark Spanbroek 2020-11-19 10:20:00 +0100
  • eef8e44fbf Introduce proc that installs connection id callback Mark Spanbroek 2020-11-19 10:14:26 +0100
  • 5c220e984f Remove duplicate assignment Mark Spanbroek 2020-11-19 10:11:27 +0100
  • 34bdf8f235 Introduce proc that installs all stream related callbacks Mark Spanbroek 2020-11-19 10:09:52 +0100
  • f128c92df2 Introduce proc that installs all encryption related callbacks Mark Spanbroek 2020-11-19 10:04:08 +0100
  • 1caf7c5a9a Fix typo Mark Spanbroek 2020-11-19 09:47:49 +0100
  • 015f5ea5a5 Fix linter warnings Mark Spanbroek 2020-11-19 09:42:26 +0100
  • d183c784d8 Add linter to format source files Mark Spanbroek 2020-11-18 17:19:44 +0100
  • f50e242f21 Rename: crypto -> cryptodata Mark Spanbroek 2020-11-18 16:34:46 +0100
  • 4c0fc92dd4 Combine encryption related modules into a single module Mark Spanbroek 2020-11-18 16:30:20 +0100
  • c5bc5be9ba Rename procs to better indicate that they are callbacks Mark Spanbroek 2020-11-18 16:26:15 +0100
  • 74ad49b456 Remove {.threadvar.} in async tests Mark Spanbroek 2020-11-25 11:34:15 +0100
  • a95a51def6 Set CI timeout to 10 minutes Mark Spanbroek 2020-11-24 16:15:56 +0100
  • 2b3c6f8d0c Ensure that timeout that triggers during `destroy` does not crash Mark Spanbroek 2020-11-23 16:42:43 +0100