- Oct 27, 2019
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Add inc_len_varint function to ngtcp2_crypto.c
-
Tatsuhiro Tsujikawa authored
Move template.h include to client.cc
-
Tatsuhiro Tsujikawa authored
Move ngtcp2_range.h into ngtcp2_gaptr.c
-
Tatsuhiro Tsujikawa authored
Remove unused assert.h includes
-
Tatsuhiro Tsujikawa authored
Check mmap's return value
-
Tatsuhiro Tsujikawa authored
Remove unused ngtcp2_macro.h includes
-
Tatsuhiro Tsujikawa authored
Remove redundant Buffer::bufsize()
-
- Oct 26, 2019
-
-
Amir Livneh authored
Previously, when mmap() failed the client example crashed deep inside ngtcp2 on trying to access address 0xffffffffffffffff. This can happen for example if `--data` specifies a directory.
-
- Oct 25, 2019
-
-
Daniel Bevenius authored
This commit moves the include of template.h into client.cc as it does not seem to be used any longer by client.h. Commit a7d6c8c4 ("Add ngtcp2_acked_stream_data_offset callback") removed the field streambuf_ which was using the user-defined literal `_k` from template.h: std::array<uint8_t, 32_k> streambuf_;
-
Daniel Bevenius authored
The header ngtcp2_gaptr.h does not use anything from ngtcp2_range.h and this commit suggests moving the include to ngtcp2_gaptr.c instead.
-
Daniel Bevenius authored
-
Daniel Bevenius authored
This commit contains a suggestion to add a static function to reduce some code duplication in ngtcp2_encode_transport_params.
-
Daniel Bevenius authored
-
- Oct 24, 2019
-
-
Amir Livneh authored
It's now identical to size().
-
Tatsuhiro Tsujikawa authored
Remove redundant Buffer::head
-
Amir Livneh authored
`head` always equals `begin`. A subsequent diff can further simplify Buffer by removing bufsize(), which is now identical to size().
-
Tatsuhiro Tsujikawa authored
-
Valère Plantevin authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Remove unused ngtcp2_macro include in ngtcp2_qlog
-
Tatsuhiro Tsujikawa authored
Update ngtcp2_recv_crypto_data documentation
-
Tatsuhiro Tsujikawa authored
Use closure for scid and dcid generation
-
Tatsuhiro Tsujikawa authored
Remove unused parts of Buffer in example
-
Tatsuhiro Tsujikawa authored
Use char instead of string for \n in client.cc
-
- Oct 23, 2019
-
-
Daniel Bevenius authored
This commit removes the include of ngtcp2_macro.h as it does not seem to be used.
-
- Oct 22, 2019
-
-
Daniel Bevenius authored
This commit contains a suggestion for improving ngtcp2_recv_crypto_data documentation.
-
Daniel Bevenius authored
This commit suggests using a closure for the generation of ngtcp2_cids in Client::init. The motivation for this is to reduce some minor code duplication.
-
Amir Livneh authored
Remove unused parts of Buffer in example A subsequent PR can further simplify `Buffer` as `begin` is now always equal to `head` and `size()` is always equal to `bufsize()`.
-
Daniel Bevenius authored
This commit updates write_transport_params in client.cc to use a character '\n', instead of string "\n".
-
Tatsuhiro Tsujikawa authored
Remove unused ngtcp2_list_remove macro
-
Tatsuhiro Tsujikawa authored
Use OpenSSL return values for client_hello_cb
-
Tatsuhiro Tsujikawa authored
Remove unneeded assignments
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- Oct 21, 2019
-
-
Daniel Bevenius authored
This commit updates the client_hello_cb to use return values specified in https://www.openssl.org/docs/man1.1.1/man3/ SSL_CTX_set_client_hello_cb.html.
-
Tatsuhiro Tsujikawa authored
-
Daniel Bevenius authored
-
- Oct 20, 2019
-
-
Amir Livneh authored
-
Tatsuhiro Tsujikawa authored
-