Commit Graph

  • 7a4729b594 Introduce sequence of outgoing datagrams Mark Spanbroek 2020-11-02 14:56:28 +0100
  • 89fcfe77a1 Support reading and writing of zero-length seqs Mark Spanbroek 2020-10-29 10:51:06 +0100
  • 27e238c8d6 Add Datagram.len Mark Spanbroek 2020-10-29 10:36:01 +0100
  • a88b32bacc Combine data and explicit congestion notification into Datagram object Mark Spanbroek 2020-10-29 10:33:15 +0100
  • 0fc5703494 Rename: Datagram -> DatagramBuffer Mark Spanbroek 2020-10-29 10:01:48 +0100
  • 1880db714b Introduce buffer at connection level Mark Spanbroek 2020-10-29 09:55:52 +0100
  • f696f36f8b Close stream Mark Spanbroek 2020-10-28 14:25:26 +0100
  • a7eb95b77d Write to stream Mark Spanbroek 2020-10-28 14:04:22 +0100
  • 29f26c4cfd Use the 'std' prefix for standard library imports Mark Spanbroek 2020-10-28 13:51:59 +0100
  • 8ca9214e5b Move datagram one level up Mark Spanbroek 2020-10-28 13:41:32 +0100
  • 6aae8b0dc2 Provide correct path when writing to datagram Mark Spanbroek 2020-10-27 12:04:15 +0100
  • 860b6a61c7 Remove erroneous udp write loop, increase test coverage Mark Spanbroek 2020-10-27 11:34:18 +0100
  • 6bf1d4a3ef Move stream tests into separate file Mark Spanbroek 2020-10-27 08:59:33 +0100
  • 395fcc6c89 Move test helpers performHandshake() and zeroAddress into separate files Mark Spanbroek 2020-10-27 08:55:07 +0100
  • abb3c25454 Remove duplication in test Mark Spanbroek 2020-10-27 08:45:55 +0100
  • 217c5e6701 Fix: Connection should be passed by reference to avoid double free Mark Spanbroek 2020-10-13 15:36:00 +0200
  • a3d11ad2ba Make congestion notification optional in the API Mark Spanbroek 2020-10-13 15:35:00 +0200
  • f850b10148 Open uni-directional stream Mark Spanbroek 2020-10-13 10:46:53 +0200
  • 621f3086ee improve test descriptions Mark Spanbroek 2020-10-12 17:14:55 +0200
  • b889e029ed Update status in Readme Mark Spanbroek 2020-10-12 16:27:32 +0200
  • 7c88a40612 Raise IOError when server connection can not be created Mark Spanbroek 2020-10-12 16:17:16 +0200
  • e0ab0fee82 Rename: testNgtcp2 -> testTransportParameters Mark Spanbroek 2020-10-12 16:06:04 +0200
  • d5d2319b70 Raise IOError when reading datagram fails Mark Spanbroek 2020-10-12 16:04:58 +0200
  • 76f3a94aed Raise IOError when things go wrong with transport parameters Mark Spanbroek 2020-10-12 15:18:08 +0200
  • cadab049e5 Replace assert with doAssert for return value checks Mark Spanbroek 2020-10-12 15:16:42 +0200
  • bc88f05124 improve test descriptions Mark Spanbroek 2020-10-12 17:14:55 +0200
  • 23cf3b2d6c Update status in Readme Mark Spanbroek 2020-10-12 16:27:32 +0200
  • 800d0da2a1 Raise IOError when server connection can not be created Mark Spanbroek 2020-10-12 16:17:16 +0200
  • a2a42b260f Rename: testNgtcp2 -> testTransportParameters Mark Spanbroek 2020-10-12 16:06:04 +0200
  • e2c5d98eea Raise IOError when reading datagram fails Mark Spanbroek 2020-10-12 16:04:58 +0200
  • a470f77504 Raise IOError when things go wrong with transport parameters Mark Spanbroek 2020-10-12 15:18:08 +0200
  • 232faa5b50 Replace assert with doAssert for return value checks Mark Spanbroek 2020-10-12 15:16:42 +0200
  • a5f5e39cae Implement new connection id callback using randomConnectionId() Mark Spanbroek 2020-10-12 11:05:05 +0200
  • 0fa6790520 Rename: connectionId() -> toCid() Mark Spanbroek 2020-10-12 10:58:53 +0200
  • 0f5e788a9c Use ConnectionId instead of ngtcp2_cid for generating random id Mark Spanbroek 2020-10-12 10:57:20 +0200
  • 79ed2515db Move ConnectionId one level up Mark Spanbroek 2020-10-12 10:34:56 +0200
  • 4fca6e0c5f Remove dead code Mark Spanbroek 2020-10-12 10:33:09 +0200
  • ca8ad04af0 Remove ngtcp2_path from public API Mark Spanbroek 2020-10-12 10:13:20 +0200
  • aa544f7369 Fix: ensure that setting socketaddress family works on macOS Mark Spanbroek 2020-10-08 16:59:03 +0200
  • a69e5a16a8 Update to newer version of nim-ngtcp2 Mark Spanbroek 2020-10-07 16:41:45 +0200
  • 1b971bb3a9 Add dependency on Chronos Mark Spanbroek 2020-10-07 15:16:25 +0200
  • 5209a18476 Remove ngtcp_pkt_info from public API Mark Spanbroek 2020-10-07 15:03:14 +0200
  • ee2e02f7be Promote Connection from test helper to public API Mark Spanbroek 2020-10-07 14:31:53 +0200
  • c58cdc2e3a Implement new connection id callback using randomConnectionId() Mark Spanbroek 2020-10-12 11:05:05 +0200
  • 7e5bc3844e Rename: connectionId() -> toCid() Mark Spanbroek 2020-10-12 10:58:53 +0200
  • 420f509a1b Use ConnectionId instead of ngtcp2_cid for generating random id Mark Spanbroek 2020-10-12 10:57:20 +0200
  • 6682280c6a Move ConnectionId one level up Mark Spanbroek 2020-10-12 10:34:56 +0200
  • 6132500739 Remove dead code Mark Spanbroek 2020-10-12 10:33:09 +0200
  • c604f728a4 Remove ngtcp2_path from public API Mark Spanbroek 2020-10-12 10:13:20 +0200
  • 2346eaf5f0 Fix: ensure that setting socketaddress family works on macOS Mark Spanbroek 2020-10-08 16:59:03 +0200
  • 7034db84ee Update to newer version of nim-ngtcp2 Mark Spanbroek 2020-10-07 16:41:45 +0200
  • 899a02a7df Add dependency on Chronos Mark Spanbroek 2020-10-07 15:16:25 +0200
  • c28f1413e4 Remove ngtcp_pkt_info from public API Mark Spanbroek 2020-10-07 15:03:14 +0200
  • e7cedbd31a Promote Connection from test helper to public API Mark Spanbroek 2020-10-07 14:31:53 +0200
  • 366c00c900 Cleanup: create random ids inside of the setup procs Mark Spanbroek 2020-10-07 13:55:47 +0200
  • ed2662eb0c Cleanup: add path to Connection object Mark Spanbroek 2020-10-07 11:45:19 +0200
  • 57d113999b Cleanup: simplify test Mark Spanbroek 2020-10-07 11:37:13 +0200
  • 9ca3fa3e8d Cleanup: introduce Connection.isHandshakeCompleted Mark Spanbroek 2020-10-07 11:33:30 +0200
  • 2ed74d0709 Cleanup: introduce Connection object to ensure cleanup Mark Spanbroek 2020-10-07 11:27:58 +0200
  • 5bc4c8442a Cleanup: extract datagram reading and writing procs Mark Spanbroek 2020-10-07 11:04:04 +0200
  • 3e79774af1 Cleanup: rename packet -> datagram Mark Spanbroek 2020-10-07 10:34:06 +0200
  • c0f843a6b5 Cleanup: extraction of ids from datagram moves to separate proc Mark Spanbroek 2020-10-07 10:32:11 +0200
  • fc50ef8e13 Cleanup: extract proc that handles incoming crypto data Mark Spanbroek 2020-10-07 10:14:27 +0200
  • f450408d1c Cleanup: remove workaround for random destination id Mark Spanbroek 2020-10-07 10:06:13 +0200
  • 1ab050ee72 Cleanup: setup parameters are passed by value Mark Spanbroek 2020-10-07 09:38:33 +0200
  • 81cfe64137 Communicate transport parameters via encrypted payload Mark Spanbroek 2020-10-06 12:00:59 +0200
  • 20d3b009dc Cleanup: simplify Mark Spanbroek 2020-10-05 17:05:55 +0200
  • b5601fe076 Cleanup: remove fake AEAD overhead for encryption Mark Spanbroek 2020-10-05 17:05:05 +0200
  • 4fccf3a9d0 Cleanup: remove unnecessary callbacks Mark Spanbroek 2020-10-05 17:02:13 +0200
  • 27f33188fa Cleanup: extract procs to install keys for 0-RTT, handshake and 1-RTT Mark Spanbroek 2020-10-05 16:59:52 +0200
  • f0f136c271 Cleanup: remove unnecessary retry logic Mark Spanbroek 2020-10-05 16:39:25 +0200
  • 35d1220777 Cleanup: install 1-RTT keys for client at the right moment Mark Spanbroek 2020-10-05 16:37:45 +0200
  • c01fd25764 Cleanup: remove unnecessary callbacks from server Mark Spanbroek 2020-10-05 16:30:22 +0200
  • 9db83e629a Cleanup: install 1-RTT keys for server at the right moment Mark Spanbroek 2020-10-05 16:27:40 +0200
  • 8c135eae81 Cleanup: install initial key for server at the right moment Mark Spanbroek 2020-10-05 16:19:13 +0200
  • 4bdd74d9b6 Cleanup: remove unneccessary early key Mark Spanbroek 2020-10-05 16:18:16 +0200
  • f4a116a25b Cleanup: install handshake keys for server at the right moment Mark Spanbroek 2020-10-05 16:16:23 +0200
  • 8e1a5ede7c Cleanup: install handshake keys for client at the right moment Mark Spanbroek 2020-10-05 16:14:27 +0200
  • a3cc283abf Cleanup: Install initial key for client at the right moment Mark Spanbroek 2020-10-05 16:12:40 +0200
  • 85631ba47c Cleanup: remove debug output from callbacks Mark Spanbroek 2020-10-05 16:02:34 +0200
  • 840eb7d8ff Cleanup: use Key type in server setup Mark Spanbroek 2020-10-05 15:59:57 +0200
  • fae113f9b4 Cleanup: simplify Mark Spanbroek 2020-10-05 15:06:22 +0200
  • fba55457c8 Cleanup: remove unnecessary path setup Mark Spanbroek 2020-10-05 14:38:45 +0200
  • c6e329dcee Cleanup: consolidate various types into type "Key" Mark Spanbroek 2020-10-05 14:25:44 +0200
  • 542d5acd79 Cleanup: remove unnecessary settings Mark Spanbroek 2020-10-05 14:21:08 +0200
  • 0fe6bbe665 Complete handshake Mark Spanbroek 2020-10-05 13:50:02 +0200
  • ceebcbd690 Provide larger buffer (for CRYPTO frames) Mark Spanbroek 2020-10-05 13:48:03 +0200
  • 0aae5aaa4d Set client handshake keys Mark Spanbroek 2020-10-05 13:02:32 +0200
  • c8b333d72b Install rx and tx keys at the appropriate moment Mark Spanbroek 2020-10-05 10:38:50 +0200
  • 32ace45629 Ensure that various fake key material uses separate memory locations Mark Spanbroek 2020-10-01 17:48:06 +0200
  • af58d18401 Fake transport settings being exchanged via TLS Mark Spanbroek 2020-10-01 15:41:40 +0200
  • 7ea33ce19d Move client and server settings into separate file Mark Spanbroek 2020-10-01 15:40:20 +0200
  • 89eb18d3b4 Use our own code to parse and echo the first packet from ngtcp2 Mark Spanbroek 2020-09-30 17:44:53 +0200
  • fbd8fde818 Fix indentation Mark Spanbroek 2020-09-17 19:47:39 +0200
  • 1b5f5c8a25 check initial packet Mark Spanbroek 2020-09-16 14:24:08 +0200
  • 0296d4a1c7 Set different IP addresses and ports for client and server Mark Spanbroek 2020-09-16 14:23:54 +0200
  • d7c5628131 Signal handshake complete Mark Spanbroek 2020-09-16 14:23:18 +0200
  • 8911311b2d Supply more crypto data Mark Spanbroek 2020-09-16 14:23:02 +0200
  • 3f9d9050df Add AEAD overhead Mark Spanbroek 2020-09-16 14:22:21 +0200
  • bd32d3ecd9 Correct connection id exchange Mark Spanbroek 2020-09-16 14:19:58 +0200