Commit Graph

  • d81b696ee7 Expose parseDatagram at the transport level Mark Spanbroek 2021-06-01 12:11:15 +0200
  • 806cf44d2a Code that uses ngtcp2 library is moved into `native` folder Mark Spanbroek 2021-06-01 11:57:35 +0200
  • 1fb24983e1 Cleanup Mark Spanbroek 2021-06-01 08:53:08 +0200
  • e3bc08155e Cleanup Mark Spanbroek 2021-06-01 08:42:35 +0200
  • ae1e661d92 Nim 1.4.8 Mark Spanbroek 2021-05-31 17:42:49 +0200
  • 753fb3d6ef Replace nil pointers with optionals Mark Spanbroek 2021-05-31 17:42:42 +0200
  • 28b1f26b8e Remove linting (not used) Mark Spanbroek 2021-05-31 10:00:21 +0200
  • a793f91130 Prevent double CI runs for every pull request Mark Spanbroek 2021-05-31 09:56:56 +0200
  • f63c959f4d Use nimcrypto instead of sysrandom Mark Spanbroek 2021-05-27 16:27:33 +0200
  • 8fa017b492 Use nim 1.4.6 by default in local environment Mark Spanbroek 2021-05-27 16:26:26 +0200
  • d5766001d8 Run CI for both Nim 1.2.6 and latest Mark Spanbroek 2021-05-27 16:25:54 +0200
  • 8f1010d413 Remove workaround in CI Mark Spanbroek 2021-05-27 16:23:01 +0200
  • 641b783122 Use nimcrypto instead of sysrandom Mark Spanbroek 2021-05-27 16:27:33 +0200
  • 483595e099 Use nim 1.4.6 by default in local environment Mark Spanbroek 2021-05-27 16:26:26 +0200
  • 79702389c6 Run CI for both Nim 1.2.6 and latest Mark Spanbroek 2021-05-27 16:25:54 +0200
  • b75a1a17f2 Remove workaround in CI Mark Spanbroek 2021-05-27 16:23:01 +0200
  • a4a802b97d Workaround for CI failure on Windows Mark Spanbroek 2021-04-06 09:27:23 +0200
  • bf524cf70f Handle errors in timeouts Mark Spanbroek 2021-04-01 15:04:05 +0200
  • 2b86b6a9d0 Workaround for CI failure on Windows Mark Spanbroek 2021-04-06 09:27:23 +0200
  • fac7f036c1 Handle errors in timeouts Mark Spanbroek 2021-04-01 15:04:05 +0200
  • 087be3a1b9 Limit size of stream queue Mark Spanbroek 2021-01-19 16:52:29 +0100
  • 7530d0607d Limit size of stream queue Mark Spanbroek 2021-01-19 16:52:29 +0100
  • 867a01a2eb Add draining state for streams Mark Spanbroek 2021-01-18 12:41:38 +0100
  • bd261033e7 Switch to closed state when peer closes stream Mark Spanbroek 2021-01-18 11:53:08 +0100
  • 4a922d0802 Add draining state for streams Mark Spanbroek 2021-01-18 12:41:38 +0100
  • 11f73d1f5a Switch to closed state when peer closes stream Mark Spanbroek 2021-01-18 11:53:08 +0100
  • 5bb0afe175 Fix GCUnsafe2 warning Mark Spanbroek 2021-01-12 16:21:39 +0100
  • 9e755eb65f Simplify tests using setup and teardown Mark Spanbroek 2021-01-11 17:54:26 +0100
  • df709d277f Use package asynctest Mark Spanbroek 2021-01-11 17:44:59 +0100
  • 188482d24b Fix GCUnsafe2 warning Mark Spanbroek 2021-01-12 16:21:39 +0100
  • be8c61b66f Simplify tests using setup and teardown Mark Spanbroek 2021-01-11 17:54:26 +0100
  • a143eef892 Use package asynctest Mark Spanbroek 2021-01-11 17:44:59 +0100
  • 00349df9c0 Enforce that connection and stream states cannot be entered more than once Mark Spanbroek 2020-12-22 16:37:02 +0100
  • fce5c31622 Introduce Connection.waitClosed() Mark Spanbroek 2020-12-21 14:59:08 +0100
  • 78f48d9986 Switch to draining state when ngtcp2 indicates it Mark Spanbroek 2020-12-21 14:39:50 +0100
  • f9da860c9d Send close datagram when entering closing state Mark Spanbroek 2020-12-21 14:38:20 +0100
  • a837f4f87d Remove close event on QuicConnection Mark Spanbroek 2020-12-21 14:37:20 +0100
  • 15e3c4cf1c New state for quic connection: disconnecting Mark Spanbroek 2020-12-21 14:35:12 +0100
  • 2aee8ff51e Ensure that all ids of a connection are removed Mark Spanbroek 2020-12-21 14:01:19 +0100
  • e9d44eadb6 Split DrainingConnection and ClosingConnection Mark Spanbroek 2020-12-17 14:14:56 +0100
  • 34b88261f4 Rename: DrainingConnection -> ClosingConnection Mark Spanbroek 2020-12-17 14:07:17 +0100
  • 37e5eb0eb4 Move stream sending code to ngtcp2/connection module Mark Spanbroek 2020-12-17 13:04:51 +0100
  • 15c212477d Remove dead code Mark Spanbroek 2020-12-17 12:39:35 +0100
  • c150cde3e6 Replace handshake event by callback on Ngtcp2Connection Mark Spanbroek 2020-12-17 12:30:02 +0100
  • 3ec35363a1 Remove duplication between quicclient and quicserver Mark Spanbroek 2020-12-17 12:24:22 +0100
  • 2e38637f71 Replace outgoing queue by callback in Ngtcp2Connection Mark Spanbroek 2020-12-17 12:17:25 +0100
  • b7c6226fc0 Remove dead code Mark Spanbroek 2020-12-17 10:15:41 +0100
  • b156e2c8f7 QuicConnection fires event when closed Mark Spanbroek 2020-12-17 09:28:45 +0100
  • 2161c3b769 Combine testNgtcp2Connection & testQuicConnection Mark Spanbroek 2020-12-16 17:38:12 +0100
  • cf40bc35e5 Fix onNewId() and onRemoveId() for QuicConnection Mark Spanbroek 2020-12-16 17:35:59 +0100
  • e4842f9433 Run tests against QuicConnection, instead of Ngtcp2Connection Mark Spanbroek 2020-12-16 17:25:11 +0100
  • d97ceef326 Use Datagram parameter instead of openArray Mark Spanbroek 2020-12-16 16:58:49 +0100
  • 2b63899c74 Fix warnings about lock level Mark Spanbroek 2020-12-16 16:07:23 +0100
  • 4d226f7906 Add unit test for example in Readme Mark Spanbroek 2020-12-16 10:47:50 +0100
  • 1ba8606a7b Add allSucceeded() to async test helper. Mark Spanbroek 2020-12-16 10:47:38 +0100
  • ca06e74957 Remember final connection ids when draining Mark Spanbroek 2020-12-16 15:08:03 +0100
  • a01669bc5c Listener handles incoming datagrams synchrononously Mark Spanbroek 2020-12-16 14:52:26 +0100
  • 0bce82225e Add Connection.close() Mark Spanbroek 2020-12-16 14:39:36 +0100
  • 8899b4d9f3 Replace QuicConnection.close() with QuicConnection.drain() Mark Spanbroek 2020-12-16 13:50:13 +0100
  • d2038f4fe4 Close connection gracefully Mark Spanbroek 2020-12-16 10:46:49 +0100
  • 47e9bf7a36 Simplify connection states Mark Spanbroek 2020-12-16 09:46:37 +0100
  • 364f1221c0 Simplify stream states Mark Spanbroek 2020-12-16 09:35:54 +0100
  • 029b3735b3 Replace object of procs with methods for stream state Mark Spanbroek 2020-12-15 16:01:03 +0100
  • 589b3758c5 Replace object of procs with methods for connection state Mark Spanbroek 2020-12-15 15:48:13 +0100
  • 8d5fb399a2 Add tests for connection in closed state Mark Spanbroek 2020-12-15 13:59:28 +0100
  • 2596b65352 Rename tests to better describe the current situation Mark Spanbroek 2020-12-15 11:50:56 +0100
  • e6d17d59f1 Introduce closed state for connections Mark Spanbroek 2020-12-15 11:50:21 +0100
  • 9c392c37b2 Rename stream state constructors Mark Spanbroek 2020-12-15 11:26:18 +0100
  • 376c359a5f Rename ngtcp2 connection constructors Mark Spanbroek 2020-12-15 11:22:52 +0100
  • 61d1f07df8 Introduce state pattern for Quic Connections Mark Spanbroek 2020-12-15 11:16:09 +0100
  • 012d4dafcd Separate udp, transport and helper folders Mark Spanbroek 2020-12-14 16:28:06 +0100
  • a50a987542 Introduce state pattern for Streams Mark Spanbroek 2020-12-14 09:21:45 +0100
  • 4c005eee37 Rename: Connection.close() -> Connection.drop() Mark Spanbroek 2020-12-10 09:51:23 +0100
  • cb29e8242a Add examples and update roadmap in Readme Mark Spanbroek 2020-12-03 16:25:00 +0100
  • e9248dce75 Api for reading from and writing to streams Mark Spanbroek 2020-12-03 13:53:33 +0100
  • bf00310a2c Remove connection ids when they expire Mark Spanbroek 2020-12-03 12:05:08 +0100
  • 226198b544 Remove ids from listener when closing connection Mark Spanbroek 2020-12-03 11:49:33 +0100
  • 206117ab40 Move most of the logic from api into listener and connection Mark Spanbroek 2020-12-03 10:26:01 +0100
  • eb82f37ac7 Do not close udp listening socket when closing connection Mark Spanbroek 2020-12-03 09:33:41 +0100
  • 3b9dfbd544 Ensure that all connections are closed in listener test Mark Spanbroek 2020-12-03 09:14:22 +0100
  • db54516c0f Formatting Mark Spanbroek 2020-12-02 16:06:04 +0100
  • 124ac8152f Listener only creates new connection for unknown connection id Mark Spanbroek 2020-12-02 15:55:55 +0100
  • 49350432af Add test for listener Mark Spanbroek 2020-12-02 15:37:47 +0100
  • 389357b5d1 Add test helper for sending udp datagrams Mark Spanbroek 2020-12-02 15:35:24 +0100
  • 58516598ab Add async test helper for callback functions Mark Spanbroek 2020-12-02 15:34:36 +0100
  • 2883d3b92b Handle zero-length connection ids Mark Spanbroek 2020-12-02 15:33:41 +0100
  • 7ab0ecbaf8 Accept multiple incoming connections Mark Spanbroek 2020-12-02 12:02:25 +0100
  • 56586c7573 Add Ngtcp2Connection.ids Mark Spanbroek 2020-12-02 11:55:45 +0100
  • 2154437c93 Prepare listener for upcoming addition of a connection table Mark Spanbroek 2020-12-02 10:26:29 +0100
  • 5bd7476fb8 Rename: testConnection -> testApi Mark Spanbroek 2020-12-02 09:23:36 +0100
  • a5eb222c98 Remove everything but the API from the main module Mark Spanbroek 2020-12-02 09:21:43 +0100
  • de1952a234 Move API and Listener into separate modules Mark Spanbroek 2020-12-02 09:16:34 +0100
  • 1ce370d24b Callback for new connection ids Mark Spanbroek 2020-12-02 08:38:12 +0100
  • bb5e82514a Introduce parseDatagram() to extract ids and version from packet Mark Spanbroek 2020-12-02 08:37:40 +0100
  • 8d2121fa5d Rewrite test that writes long message over stream Mark Spanbroek 2020-12-02 08:37:53 +0100
  • 1d4dafd8f9 Do not bind DatagramTransport to remote address on init Mark Spanbroek 2020-12-02 08:35:08 +0100
  • e8bc63de57 Ensure that unexpected errors in send loops are raised immediately Mark Spanbroek 2020-11-30 16:36:25 +0100
  • 42115c90b5 Introduce new API for setting up connections Mark Spanbroek 2020-11-25 17:58:51 +0100
  • 628e1c4445 Rename: Connection -> Ngtcp2Connection Mark Spanbroek 2020-11-25 14:10:54 +0100
  • 6709b4d7da Combine testConnection and testUdp Mark Spanbroek 2020-11-24 08:40:29 +0100