Commit Graph

30 Commits

Author SHA1 Message Date
Christian Ulrich 1840908ba5
set empty server name to skip server name verification 2020-11-09 15:39:49 +01:00
Christian Ulrich 3f13c06a9f
introduce Connection type to store the peer's certchain; move openssl wrappers to dedicated module; add certificate utils 2020-11-09 15:04:35 +01:00
Christian Ulrich 8441c02a57
ptls_t is an incomplete struct; add ptls_get_data and quicly_get_data 2020-11-09 09:58:17 +01:00
Christian Ulrich de780656f0
make client authentication mandatory; verify cert chain using highest cert as CA cert 2020-11-08 19:12:42 +01:00
Christian Ulrich f7feb4283f
fix typo; add ptls_openssl_dispose_verify_certificate 2020-11-08 19:10:40 +01:00
Christian Ulrich c6a0127244
make cb fields visible; add some constants 2020-11-08 19:09:45 +01:00
Christian Ulrich 490664b1f5
cosmetic: move proc handleMsg 2020-11-08 13:16:03 +01:00
Christian Ulrich c39ecc55ac
remove debug output; add less noisy output on server side 2020-11-08 13:05:59 +01:00
Christian Ulrich b65c4f4373
consistenly use snake case for wrapper symbols 2020-11-08 12:49:32 +01:00
Christian Ulrich d5c74f5ce2
need deepCopy; don't do anything if no connections exist 2020-11-08 01:53:30 +01:00
Christian Ulrich 272cb2f497
fix 'seq changed while iterating' bug 2020-11-08 01:36:03 +01:00
Christian Ulrich 6e7ab9369d
fix getRelativeTimeout (assuming microseconds was wrong) 2020-11-08 01:22:53 +01:00
Christian Ulrich e936bc49d9
fix server side sending 2020-11-08 00:20:26 +01:00
Christian Ulrich 87239d45e7
add debug output; use different certs and keys for client and server 2020-11-07 13:58:21 +01:00
Christian Ulrich db92c3f48f
receive as client too 2020-11-07 12:51:31 +01:00
Christian Ulrich 3fc54cb730
fix typo / grammar 2020-11-07 12:31:24 +01:00
Christian Ulrich cfe24f70dc
fix crashes in server mode 2020-11-07 12:29:08 +01:00
Christian Ulrich 44fd55871a
echo application in async Nim (untested) 2020-11-07 11:43:09 +01:00
Christian Ulrich 7923bd96ab
use header pragma again (needed for using inline functions) 2020-11-07 11:42:11 +01:00
Christian Ulrich 1e290ac350
add certificate generation script + openssl configs 2020-11-07 11:12:32 +01:00
Christian Ulrich 2ade4a93db
remove header pragma 2020-11-07 11:09:23 +01:00
Christian Ulrich cc0077c0b6
various fixes; add quicly_open_stream, quicly_send QUICLY_ERROR_FREE_CONNECTION and ptls_iovec_init 2020-11-07 11:05:57 +01:00
Christian Ulrich bff7556147
read cert chain and private key 2020-11-02 23:52:26 +01:00
Christian Ulrich fbebb0f566
don't use importc / header pragmas for types to resolve type declaration conflicts; don't use header pragma at all 2020-11-02 23:51:47 +01:00
Christian Ulrich 02b9d5fb82
start using the bindings 2020-11-02 10:00:33 +01:00
Christian Ulrich 9403c90082
various fixes 2020-11-02 09:59:28 +01:00
Christian Ulrich 1adba05d39
delete swp file 2020-11-02 00:56:26 +01:00
Christian Ulrich a0b442a716
change gitignore (no swp, no binary) 2020-11-02 00:55:01 +01:00
Christian Ulrich 932dd80499
initial commit 2020-11-02 00:52:13 +01:00
christian f8dcc23275 Initial commit 2020-11-02 00:49:13 +01:00