Expand description
Git Smart HTTP protocol support via git-http-backend CGI
This module provides functionality to serve Git repositories over HTTP
using the Git Smart HTTP protocol. It works by invoking the system’s
git http-backend CGI binary.
The implementation streams request bodies to the CGI process and streams CGI output back to the client, avoiding buffering large payloads in memory.
Structs§
- GitBackend
- Git HTTP backend wrapper
- GitCgi
Completion - Handle to monitor CGI process completion and collect stderr.
- GitCgi
Headers - Parsed CGI headers (status code + response headers, no body).
- GitCgi
Stream Response - A streaming CGI response.
Constants§
- DEFAULT_
GIT_ CGI_ TIMEOUT - Default maximum time to wait for a git-http-backend process to complete.
Type Aliases§
- Body
Stream - Stream of response body bytes from a CGI process.