Commit Graph

2940 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa 6859b66911 draft-28 2020-09-24 23:37:05 +09:00
Tatsuhiro Tsujikawa 1593e17752 Assert ndatalen 2020-09-24 23:37:05 +09:00
Tatsuhiro Tsujikawa 0298cf9cf1 Revert "Ensure complete packet is written"
This reverts commit c19046b09f8e66713f0e067f986ed92d676eb6b6.
2020-09-24 23:37:05 +09:00
Tatsuhiro Tsujikawa da8f433eee Ensure complete packet is written 2020-09-24 23:37:05 +09:00
Tatsuhiro Tsujikawa 9fdc5676a4 Fix compile error with the latest ngtcp2 2020-09-24 23:37:05 +09:00
Tatsuhiro Tsujikawa 423f0a8186 Handle stream limit increment 2020-09-24 23:37:05 +09:00
Tatsuhiro Tsujikawa 4777867b09 draft-25 2020-09-24 23:37:05 +09:00
Tatsuhiro Tsujikawa bf7e417456 Remove unused member function declaration 2020-09-24 23:37:05 +09:00
Tatsuhiro Tsujikawa 2a275e4a6a Fix compile error 2020-09-24 23:37:05 +09:00
Tatsuhiro Tsujikawa 0d3197b266 Optimize QUIC write 2020-09-24 23:37:05 +09:00
Tatsuhiro Tsujikawa da6d58a964 Only count STREAM data as bytes_total 2020-09-24 23:37:05 +09:00
Tatsuhiro Tsujikawa e93e6466ab Use correct type 2020-09-24 23:37:05 +09:00
Tatsuhiro Tsujikawa 1bbf1b9b46 Follow ngtcp2 API update 2020-09-24 23:37:05 +09:00
Tatsuhiro Tsujikawa 10adda15bd quic draft-24 2020-09-24 23:37:05 +09:00
Lucas Pardue c6ce43bb31 Add SSLKEYLOGFILE support 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 794aa84d69 Compile with the latest ngtcp2 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 6855901cbe Send SNI 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa b14540dbb8 Small adjustment of successful HTTP/3 error code
Non-zero successful error code is a bit annoying because ngtcp2 does
not know it.  Enforcing successful application error code to 0 is a
lot simpler.
2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa b6f5680a0b Simplify write_quic 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 538f14a7ee Handle sending just fine 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa c63d877cbe Avoid setting 0 to repeat field 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa dd5342c057 Add missing acked_stream_data_offset callback 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 8dec44de11 Fix return value 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 22c6c973df Compile with the latest ngtcp2 and ngtcp2_crypto_openssl 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 5a3be24371 Remove error handling which does not happen 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 0825733d1b Follow ngtcp2 API changes and use libngtcp2_crypto_openssl 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 23d31792a7 quic: Support TLS_AES_128_CCM_SHA256 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa eb6bd03b56 h2load: Add --tls13-ciphers option 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa a4456318f9 Handle preferred address 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa cf3277d631 Show ngtcp2 debug log with --verbose 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 3ce9bbdafe h2load: Add --groups option 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 0b7588f00a Always call write_quic when timer expires 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa a4f374bc54 h3-22 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 9d6d436049 Handle Retry 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 2eab70765b quic: Configure settings with options 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 1608f33cdf h2load: Fix possible deadlock 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 329254b226 [WIP] Add QUIC to h2load 2020-09-24 23:37:04 +09:00
Tatsuhiro Tsujikawa 4e3c61ef4d nghttpx: Add accesslog variables to record request path without query
This commit the following variables to construct request line without
including query component:

* $method
* $path
* $path_without_query
* $protocol_version
2020-09-19 23:58:37 +09:00
Tatsuhiro Tsujikawa 7b4de401d2 nghttpx: Check worker wide blocker before creating new downstream connection 2020-09-19 23:22:14 +09:00
Tatsuhiro Tsujikawa 7df73a5d90 nghttpx: mrb_run was removed 2020-09-02 22:12:45 +09:00
Tatsuhiro Tsujikawa d5550e946d Amend f1d8547b29
Better handling of tls and early data buffer
2020-07-14 19:47:08 +09:00
Tatsuhiro Tsujikawa 62411f5a6e nghttpx: Set client_handler to special frontend objects 2020-07-14 01:13:29 +09:00
Tatsuhiro Tsujikawa e9465f0ee5 Revert "nghttpx: Fix ubsan error"
This reverts commit 14dfeee4ed.
2020-07-14 01:13:29 +09:00
Tatsuhiro Tsujikawa 14dfeee4ed nghttpx: Fix ubsan error 2020-07-14 00:12:07 +09:00
Tatsuhiro Tsujikawa f1d8547b29 nghttpx: Fix stall when TLS follows after proxy protocol
This fixes that nghttpx stalls when TLS handshake and data follow
after proxy protocol header and no extra read notification is
triggered (e.g., just small 1 HTTP request).
2020-07-13 23:39:17 +09:00
Tatsuhiro Tsujikawa abe80e371e nghttpx: Fix logging integer 2020-06-10 20:56:33 +09:00
Tatsuhiro Tsujikawa 854e9fe395 nghttpx: Always call init_forwarded_for
Always call init_forwarded_for to get the default when source address
in PROXY protocol is ignored.  This ensures that forwarded header
field has the same value as x-forwarded-for.
2020-04-18 17:16:45 +09:00
Tatsuhiro Tsujikawa 49cd8e6e73 nghttpx: Add PROXY-protocol v2 support 2020-04-18 17:16:30 +09:00
Jacky Tian 4922bb41d6 static_cast size parameter in StringRef constructor to size_t 2020-03-31 00:54:08 -07:00
Jacky Tian aad8697575 Fix get_x509_serial for long serial numbers 2020-03-31 00:19:06 -07:00