httpjet · documentation · release overview
httpjet
A from-scratch Rust web server and drop-in LiteSpeed replacement: it reads the same conf/httpd_config.xml tree, speaks native LSAPI to lsphp, evaluates the same .htaccess files, and adds native HTTP/2 and HTTP/3, reverse-proxy and FastCGI gateways, and an opt-in LSCache-protocol page cache — all on one io_uring transport.
Choose your path
What httpjet is
httpjet reads LiteSpeed Web Server (LSWS 6.3.5) and OpenLiteSpeed configuration trees. Check the supported directives and limits, validate your configuration, and test it before migrating. Native additions are opt-in.
Compatible surface
- LiteSpeed XML and
mime.properties - Native LSAPI to
lsphp - mod_rewrite, access control, Basic auth,
Header,ErrorDocument - LSCache protocol (
X-LiteSpeed-Cache-Control/-Tag/-Vary/-Purge) - LiteSpeed
fileETag=28ETags,.html→PHP dispatch order
httpjet-native (opt-in)
- Throttle, GeoIP/ASN, PROXY protocol, Unix-socket listeners
- Weighted groups with health checks;
h2:///h2s://; FastCGI - Per-context body/timeout/bandwidth,
sub_filter, request decompression - ACME, OCSP, kTLS/sendfile, OpenTelemetry
- Loopback admin API, WAF sidecar, compile-time extensions
httpjet serves WindowsForum.com (x86_64) and MoonTimeNow.com + ThisDayInHistory.ai (ARM64) behind Cloudflare, on pure io_uring with the file tier live. It replaced LiteSpeed for all three. The project is GPL-3.0-only; running versions and deployment settings can differ by host. Run check --strict and test on alternate ports before cutover. See Capabilities & limits.
How the pieces fit
Select a node to open its page.
pipeline::handle() resolves vhost and identity. dispatch() mirrors OpenLiteSpeed ordering. finalize_response finishes each terminal.diagram source (mermaid)
flowchart TB
classDef on fill:#13203a,stroke:#818cf8,color:#fff
classDef term fill:#0e1424,stroke:#22d3ee,color:#e8ecf6
classDef gate fill:#1a1f33,stroke:#fbbf73,color:#e8ecf6
A["resolve<br/>SNI / Host → vhost"] --> B["trust & identity<br/>mTLS gate · client IP · ACL · geo · throttle"]
B --> X["extension pre-handlers<br/>(compile-time, optional)"]
X -- "continue or none registered" --> Y["context body limit"]
X -- "respond or error" --> K
Y --> W("WAF sidecar<br/>(if configured)"):::gate
W -- "allowed or disabled" --> C[".htaccess chain<br/>SetEnvIf · memoized pre-rewrite access"]
C --> D["rewrite<br/>inline rules, then .htaccess"]
D --> E["access enforcement<br/>Basic auth · PATH_INFO deny"]
E --> F("page-cache lookup<br/>(--page-cache · public / private / shared / capsule)"):::on
F -- hit --> K
F -- miss / bypass --> G("dispatch")
G --> G1[WebSocket]:::term
G --> G2["proxy <context>"]:::term
G --> G3["LSAPI / FastCGI<br/>suffix routing"]:::term
G --> G4[static]:::term
G1 & G2 & G3 & G4 --> H["finalize<br/>Header ops · ErrorDocument"]
H --> I["cache store<br/>(spawn_blocking variant/dict fills · --cf-send-zstd)"]:::on
I --> K["response transforms<br/>promote small files · expires · sub_filter · compress · deny-CDN-cache · Alt-Svc"]
K --> L["access log · metrics · spans"]
click B "security.html"
click W "extensions.html#waf"
click X "extensions.html"
click C "rewrite.html"
click D "rewrite.html"
click E "rewrite.html#basic-auth"
click F "page-cache.html#lookup"
click I "page-cache.html#store"
click G2 "gateways.html"
click G3 "lsapi.html"
click K "compression.html"
click L "observability.html"Read next
Start, operate, learn internals, check reference.
By the numbers
See Performance for method and receipts.
Project status
| Aspect | State |
|---|---|
| Version | Check the latest public release |
| Release history | Version 0.2.8 adds a synchronous borrowed HTTP/3 memo fast path, cached QPACK field_section_size, H2 Frame-1 single-shot batching, cookied guest response-memo with strict logged-in member isolation, O(1) LSAPI wire-header lookup, 64 KiB access-log batching, and 29 bug fixes. Explore dated measurements and their methods in Performance. For release changes and packages, see GitHub Releases. |
| Configuration | LiteSpeed XML stays authoritative. Native directives stay opt-in. check --strict gates deploys. |
| Transport | Pure io_uring (monoio), H1/H2/H3 only. No epoll fallback or Windows/macOS port. |
| PHP | Native LSAPI; you supply lsphp. Production: persistent external pool, zero-downtime generation reloads. |
| Page cache | Off by default; opt-in LSCache, private tier, cookie vary, tmpfs file tier, per-vhost dictionaries, generation namespaces. Live in production. |
| Optional features | acme, ocsp, otel, ktls, profiling build features. Each still needs runtime opt-in. |
| Security posture | Continuous security and RFC audits through v0.2.8 (29 issues fixed in 0.2.8, 36 in 0.2.4, 28 in 0.2.0, 22 in 0.1.10; see audit posture). Defaults stay fail-closed. |
| Release | Linux installer plus signed DEB, RPM and static archives via GitHub Releases. Full distribution matrix not completed for this release. |
httpjet · release behavior reviewed against v0.2.8; measurements and historical results are dated on their pages.
Source: github.com/faratech/httpjet · Home: httpjet.net · Found an error? Open an issue on the repository.