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.
- 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>
Add optional max_content_len parameter to Record.pp (default 100 bytes) to handle large records gracefully. Enhance test output with hex dumps of raw file contents and detailed structured pretty printing of parsed records and key-value pairs.
馃 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Replace blocking stdlib file operations with Eio's capability-based filesystem access and streaming I/O. Tests now use Eio_main.run, Eio.Path.with_open_in, and Eio.Buf_read.of_flow for more idiomatic Eio patterns that eliminate intermediate string buffers.
馃 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>