code
Clone this repository
https://tangled.org/anil.recoil.org/ocaml-fastcgi
git@git.recoil.org:anil.recoil.org/ocaml-fastcgi
For self-hosted knots, clone URLs may differ based on your setup.
Move all Eio.Flow-related functions from fastcgi_request to the
higher-level fastcgi module. This creates a cleaner separation where
fastcgi_request handles only protocol parsing/serialization using
Buf_read/Buf_write, while fastcgi provides the Flow-based interface
for connection and request handling.
馃 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Replace (`Msg error) result types with raw strings for cleaner APIs
- Add error handling helpers in fastcgi_record (invalid_version, unknown_record_type, check_bounds)
- Simplify complex nested pattern matching in read_request_from_flow using monadic binding
- Extract helper functions for role-based stream reading and DATA stream handling
- Add comprehensive fastcgi_request module with request state management
馃 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>