Tatsuhiro Tsujikawa
47edc33b0d
nghttpx: Use ULOG
2021-09-04 17:48:02 +09:00
Tatsuhiro Tsujikawa
2afad0c650
nghttpx: Use ngtcp2_conn_get_client_initial_dcid
2021-09-04 17:43:24 +09:00
Tatsuhiro Tsujikawa
fb53a6a686
Follow the latest ngtcp2 change
2021-09-04 17:37:00 +09:00
Tatsuhiro Tsujikawa
31b5b78dc1
Use switch to avoid many if-else-if
2021-09-04 17:35:33 +09:00
Tatsuhiro Tsujikawa
2f941c7fb3
Update doc
2021-09-04 17:32:57 +09:00
Tatsuhiro Tsujikawa
ba483b4032
Update doc
2021-09-04 17:30:06 +09:00
Tatsuhiro Tsujikawa
977b0ceee4
make clang-format
2021-09-04 17:27:43 +09:00
Tatsuhiro Tsujikawa
fcc20334da
Merge pull request #1613 from mkauf/check_pseudo_header_chars
...
Stricter checks for pseudo-headers :method and :path
2021-09-04 17:26:47 +09:00
Michael Kaufmann
83c063346d
Stricter checks for pseudo-headers :method and :path
...
Check the allowed characters for ":method" (see RFC 7230, section 3.2.6) and
":path". For ":path", the space and tab characters are now forbidden, but
other special characters are still allowed for compatibility reasons.
Update genvchartbl.py so that it generates the same table as in the code.
Fixes #1611
2021-08-31 21:47:35 +02:00
Tatsuhiro Tsujikawa
c2e29ad06f
nghttpx: Enforce worker-frontend-connections for QUIC
2021-08-31 19:48:26 +09:00
Tatsuhiro Tsujikawa
9194d40da7
Update bash_completions
2021-08-31 19:24:41 +09:00
Tatsuhiro Tsujikawa
002073ef57
Update manual pages
2021-08-31 19:24:41 +09:00
Tatsuhiro Tsujikawa
ef3066a1bd
nghttpx: Update doc
2021-08-31 19:24:41 +09:00
Tatsuhiro Tsujikawa
65db5b94e4
nghttpx: Document "quic" parameter
2021-08-31 19:24:41 +09:00
Tatsuhiro Tsujikawa
3122038c48
Add HTTP/3 documentation
2021-08-31 19:24:41 +09:00
Tatsuhiro Tsujikawa
54fd0efdfe
nghttpx: Return error if quic param is specified when quic is disabled
2021-08-31 17:15:44 +09:00
Tatsuhiro Tsujikawa
f0d1e50d5a
cmake: Build bpf
2021-08-31 17:15:37 +09:00
Tatsuhiro Tsujikawa
a87ea20b7c
configure: Avoid compile failure
2021-08-31 16:49:55 +09:00
Tatsuhiro Tsujikawa
8e7e40d0cc
bpf: Remove redundant -g
2021-08-31 16:49:55 +09:00
Tatsuhiro Tsujikawa
de4d4f6609
Fix cmake Systemd warning
2021-08-31 16:49:55 +09:00
Tatsuhiro Tsujikawa
e01d61484d
Fix compile error with cmake
2021-08-31 16:49:55 +09:00
Tatsuhiro Tsujikawa
51f83087f2
nghttpx: Add missing HTTP/3 timer handling
2021-08-31 14:19:31 +09:00
Tatsuhiro Tsujikawa
17012654e1
nghttpx: Add HTTP/3 graceful shutdown
2021-08-31 14:06:59 +09:00
Tatsuhiro Tsujikawa
e998d125ab
nghttpx: Send CONNECTION_CLOSE if Retry token validation failed
2021-08-31 13:23:52 +09:00
Tatsuhiro Tsujikawa
95601d3179
nghttpx: Utilize the latest ngtcp2 features
2021-08-31 12:13:06 +09:00
Tatsuhiro Tsujikawa
0566a5833b
nghttpx: Fix infinite loop
2021-08-30 18:39:28 +09:00
Tatsuhiro Tsujikawa
c50459b81a
bpf: use __builtin_memcpy explicitly to build under ubuntu 20.04
2021-08-30 18:34:26 +09:00
Tatsuhiro Tsujikawa
0e52cf76eb
bpf: Add -g flag by default
2021-08-30 18:33:27 +09:00
Tatsuhiro Tsujikawa
0baf725073
Remove unneeded include files
2021-08-30 18:32:58 +09:00
Tatsuhiro Tsujikawa
e77fd7ddb9
Build libbpf on CI
2021-08-29 22:08:42 +09:00
Tatsuhiro Tsujikawa
e5cb5dca61
Fix reuseport_kern.c to work under ubuntu 20.04
2021-08-29 21:09:27 +09:00
Tatsuhiro Tsujikawa
7941b559c5
Fix libbpf configure help message
2021-08-29 21:08:41 +09:00
Tatsuhiro Tsujikawa
58d81dbc52
nghttpx: Send Stateless Reset in response to Short packet only for now
2021-08-29 21:08:41 +09:00
Tatsuhiro Tsujikawa
2b4dc4496f
nghttpx: Forward QUIC UDP datagram to lingering worker in graceful shutdown
...
Forward QUIC UDP datagram to lingering worker process which is in
graceful shutdown. Both SIGHUP and SIGUSR2 work. To make this work
correctly, eBPF is required.
2021-08-29 18:35:41 +09:00
Tatsuhiro Tsujikawa
c5e9d0096a
nghttpx: Fix crash when ConnectionHandler is deleted while doing memcached request
2021-08-29 17:17:36 +09:00
Tatsuhiro Tsujikawa
c6f9780b1b
Add accidentally deleted BPFCFLAGS
2021-08-29 15:47:45 +09:00
Tatsuhiro Tsujikawa
ef694923f7
Provide enum bpf_stats_type if not defined in linux/bpf.h for older kernel
2021-08-29 14:30:59 +09:00
Tatsuhiro Tsujikawa
8d02203bb6
Add LIBBPF_CFLAGS for eBPF program and nghttpx
2021-08-29 13:58:10 +09:00
Tatsuhiro Tsujikawa
1e75be3b5d
Find libbpf with pkg-config
2021-08-29 13:43:07 +09:00
Tatsuhiro Tsujikawa
7d13891066
nghttpx: Rename eBPF options
2021-08-27 21:34:18 +09:00
Tatsuhiro Tsujikawa
4292bd7ad9
nghttpx: Set max udp payload size to IPv4 minimum payload size for now
2021-08-27 21:26:50 +09:00
Tatsuhiro Tsujikawa
82cd110dbe
nghttpx: Use SHRPX_MAX_UDP_PAYLOAD_SIZE
2021-08-27 21:13:26 +09:00
Tatsuhiro Tsujikawa
d2729193c7
nghttpx: Add --frontend-http3-max-concurrent-streams option
2021-08-27 21:11:03 +09:00
Tatsuhiro Tsujikawa
87fb325357
nghttpx: Add window size options for HTTP/3 connection
2021-08-27 21:02:45 +09:00
Tatsuhiro Tsujikawa
fb8ff7b892
nghttpx: Format duration for frontend-quic-idle-timeout default value
2021-08-27 19:52:24 +09:00
Tatsuhiro Tsujikawa
5aeae7444f
nghttpx: Add --frontend-quic-debug-log option
2021-08-27 19:16:25 +09:00
Tatsuhiro Tsujikawa
c9b11e9fbf
nghttpx: Rename --quic-idle-timeout to --frontend-quic-idle-timeout
2021-08-27 19:03:06 +09:00
Tatsuhiro Tsujikawa
0005efa508
nghttpx: --frontend-http3-read-timeout should be noop if HTTP/3 is disabled
2021-08-27 18:45:19 +09:00
Tatsuhiro Tsujikawa
6931cb9d65
nghttpx: Add --quic-idle-timeout option
2021-08-27 18:44:33 +09:00
Tatsuhiro Tsujikawa
c1bcf0f11a
nghttpx: Do not dump HTTP/3 header fields
2021-08-27 18:35:27 +09:00