v0.41.2
This commit is contained in:
1 parent
934d748ea2
commit
8d15429560
13 files changed
+171
-17
No files matched your search
+5
-2
@@ -2,13 +2,16 @@
|
||||
|
||||
Release history focused on **features, settings, default behavior, compatibility and fixes**. Changes to internal code structure and preliminary performance experiments are intentionally omitted. Historical descriptions reflect their respective releases; consult the current documentation for the settings available in the latest release.
|
||||
|
||||
## 0.41.2 — QUIC keep-alive for long HTTP/3 requests
|
||||
|
||||
- **HTTP/3 keep-alive:** the HTTP/3 settings of a TLS listener gain `keep_alive_interval` (seconds between QUIC PING frames, `0` = off, default) and `keep_alive_mode`. Without keep-alive a request that sends nothing for longer than the QUIC idle timeout (default 10 s) — long polling, ActiveSync `Ping`, SSE, a slow upstream before its headers — was cut off together with its connection (`http3_accept_error: Timeout`), which mobile NATs make worse. In `active_requests` mode (default) PINGs keep connections alive and RustProxy closes a connection with GOAWAY once it had no request in progress for `max_idle_timeout`, so idle browser connections are still reclaimed; `always` keeps every connection until the client closes it. The interval must be shorter than the idle timeout (unless that is `0`). Applies to new QUIC connections without a restart. See [QUIC keep-alive](docs/TRANSPORT.md#quic-keep-alive-long-requests-over-http3).
|
||||
- **Panel:** **Settings → HTTP/3** shows *QUIC keep-alive* and *QUIC keep-alive mode*; English and Polish texts added. API schema updated.
|
||||
|
||||
## 0.41.1 — Stored logs: rotation fix, per-host log files and rebuilt explorer
|
||||
|
||||
- **Logging — rotation fix:** access logs (shared and per-Vhost) and the error log now notice external rotation (logrotate `create`, `mv`, `rm`) about once per second and reopen the configured path. Up to 0.41.0 RustProxy kept writing into the renamed file until a restart, so after `compress` those records were lost and the stored-log reader showed an old rotation (e.g. `.10.gz`) as the newest data. No `postrotate` or `copytruncate` is needed; a sample logrotate policy is in [Logs](docs/LOGS.md#per-site-files-and-rotation).
|
||||
- **Logging — redirect and 404 hosts:** with per-Vhost access logs, requests answered by a redirect host go to `<id>.redirect.jsonl` and requests answered by a local 404 host to `<id>.host404.jsonl` instead of `_unmatched.jsonl`; their records carry `redirect_host` / `local_host` (omitted otherwise, also available as custom format fields). They are not counted as Vhost traffic.
|
||||
- **Stored logs — rebuilt explorer:** sources are grouped per log (Vhosts, Redirect hosts, 404 hosts, Other traffic, shared access log, error log) with a separate **File** picker (current file, `.1`, `.2.gz`, …). Rotations are ordered by number instead of modification time and uncompressed rotations (`.1`) are included; a log is read newest-first so the newest records are always complete, and the status line shows the time range, the files read and how to reach older ones. New **Period** filter (`since_ms`, stops before older rotations), status/protocol-error chips, **← Newer / Older →** paging, an inline search-syntax panel with tap-to-use examples (the old popover opened off-screen on phones), source names instead of file ids, status-coloured cards on phones. API: `/api/file-logs` sources gain `rotation`, `scope` and `site`; queries accept `since_ms` and return `files`, `files_skipped`, `stopped_at_period`, `newest_ms` and `oldest_ms`; `consolidate_vhosts` now merges any log's rotations.
|
||||
- **Upgrade note:** if logs are rotated externally, restart the service once after upgrading — a process older than 0.41.1 keeps writing into the rotated file until it restarts.
|
||||
- **Compatibility:** configuration format unchanged. Access-log records gain `redirect_host` / `local_host` only for requests answered by redirect or local 404 hosts. Redirect/404 traffic moves from `_unmatched.jsonl` to its own files when per-Vhost logs are enabled.
|
||||
|
||||
## 0.41.0 — Conditional routing: request conditions and whole-host rules
|
||||
|
||||
|
||||
Reference in new issue
Block a user