Commit Graph

2938 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa 8a4eb45932 Fix compile error with the latest ngtcp2 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 3d6ac73111 Handle stream limit increment 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 80c0f37a8d draft-25 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 009615370b Remove unused member function declaration 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa b09f70af3b Fix compile error 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 2c1022a336 Optimize QUIC write 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 255c4905e6 Only count STREAM data as bytes_total 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 3dd362af37 Use correct type 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 49a182a15f Follow ngtcp2 API update 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 77f1b37284 quic draft-24 2020-11-29 18:10:05 +09:00
Lucas Pardue d074d8c1de Add SSLKEYLOGFILE support 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 35b6fddbcc Compile with the latest ngtcp2 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa d1997bf627 Send SNI 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 393317c42e 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-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 18015fe791 Simplify write_quic 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 8255881f5d Handle sending just fine 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 9663638f84 Avoid setting 0 to repeat field 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 950da80c44 Add missing acked_stream_data_offset callback 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa c1183546b6 Fix return value 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa a8366a2a60 Compile with the latest ngtcp2 and ngtcp2_crypto_openssl 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa bd79adc2f6 Remove error handling which does not happen 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa ae05dd0e79 Follow ngtcp2 API changes and use libngtcp2_crypto_openssl 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 4861b41c8d quic: Support TLS_AES_128_CCM_SHA256 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 169347d295 h2load: Add --tls13-ciphers option 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa f8088c8439 Handle preferred address 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 2b1d9558df Show ngtcp2 debug log with --verbose 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 556afcc06a h2load: Add --groups option 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 25b9ec522a Always call write_quic when timer expires 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa d0cdea3f5d h3-22 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 5ee573e342 Handle Retry 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa bbd0a730dc quic: Configure settings with options 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa 11fa71c14b h2load: Fix possible deadlock 2020-11-29 18:10:05 +09:00
Tatsuhiro Tsujikawa fc32ec1b34 [WIP] Add QUIC to h2load 2020-11-29 18:10:04 +09:00
Tatsuhiro Tsujikawa 6787423edc nghttpx: Add workaround to include ':' in backend pattern 2020-11-27 22:15:46 +09:00
Tatsuhiro Tsujikawa da7959c2e8 nghttpx: Deal with the case when h2 backend is retired before it is initialized 2020-11-15 11:19:07 +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
Tatsuhiro Tsujikawa 5e13274b7c Fix typo 2019-12-21 11:39:05 +09:00
Tatsuhiro Tsujikawa e0d7f7de5e h2load: Allow port in --connect-to 2019-12-21 11:39:05 +09:00