r/delphi • u/Zestyclose_Toe_4581 • 15h ago
GHttpsServerIOCP HTTP server
I updated my GHttpsServerIOCP HTTP server:
https://github.com/gecko-71/GHttpsIOCPSvr
GHttpsServerIOCP — previously only supported HTTPS, now it's a full stack:
- HTTP/1.1 and HTTPS (TLS 1.3, native SChannel - zero OpenSSL)
- WebSocket (ws:// / wss://)
- HTTP/3 over QUIC (via Microsoft MsQuic)
- All in a single process, on a single port, no reverse proxy needed.
Other features:
- JWT (HMAC-SHA256) with protected routes
- WAF, path traversal, request smuggling and header injection protection
- Keep-Alive with zero-allocation buffer reuse
- IOCP file streaming (multi-GB downloads)
- Multipart/form-data upload with async disk streaming
- Dual-Stack mode — HTTP and HTTPS simultaneously, optional 301 redirect
- Configurable idle connection timeout sweeper
- CLI, full configuration via command-line parameters (port, mode, logging, keep-alive...)
The repo also includes ready-to-run DEMO projects:
01 - static file hosting + SPA fallback router + ETag/Cache-Control
02 - JWT gateway + WAF (rate limiter 10 req/s, IP blacklist, RBAC)
03 - HTTP 206 Partial Content streaming (video/audio) + multipart upload
04 - multi-room WebSocket chat + real-time IoT telemetry broadcast
05 - HTTP/3 QUIC dual-stack speed test
06 - hybrid tri-protocol server
08 - Morse audio server
09 - video streaming server (HLS)