1. Knodium
  2. Untitled project
  3. spiffy-cgi-handlers

Commits

Author Commit Message Date Builds
Peter Bex
Bump version to 0.4
Peter Bex
Bump version to 0.4
Tags
0.4
Peter Bex
Use a custom header parser for CGI headers. The Intarweb header parser has been made more strict according to the HTTP spec and only allows CRLF as line endings. However, the CGI spec (only?) allows header lines to end with NL. Because this is a problem for both cgi and fcgi parsers, this has been moved into a common "module" which is included from both the cgi and fcgi handlers. Some common environment setup has also been moved into thi…
Peter Bex
Fix compiler warning which would be a runtime error
Peter Bex
Remove single quote in #error message. This gets rid of a compiler warning
Peter Bex
Remove dependency on regex egg by using irregex.
Andy Bennett
Version metadata wrangling for egg release. Signed-off-by: Andy Bennett <andyjpb@knodium.com>
Tags
0.3
Andy Bennett
Rework the FCGI header parsing to fix spurious line break issues We need to sanitize and filter the FCGI headers that come back from the FCGI process in order to turn them into HTTP headers. The code that did this was naive and ended up stripping line breaks from the first part of the non-header response and adding an extra line break into responses that were large enough to require more than a single read from the pipe connecting the CHICKEN process with the …
Andy Bennett
Version metadata wrangling for egg release. Signed-off-by: Andy Bennett <andyjpb@knodium.com>
Tags
0.2
Andy Bennett
Ensure the FastCGI process always receives a blocking socket From version 0.2.3, the socket egg immediately places the sockets it creates into non-blocking mode. In previous versions it only used to do this during socket-connect and socket-accept. As these procedures were never called on the socket we create for the FastCGI process we always has a regular blocking socket in hand. The FCGX_Accept_r() call expects a blocking socket. If the socket does not bl…
Andy Bennett
Include the query string, as well as the path, in REQUEST_URI ...also use 'req' rather than '(current-request)'. Signed-off-by: Andy Bennett <andyjpb@knodium.com>
Andy Bennett
A Chicken Scheme egg release-info file ...as specified at http://wiki.call-cc.org/releasing-your-egg Signed-off-by: Andy Bennett <andyjpb@knodium.com
Tags
0.1
Andy Bennett
cgi-handler and fcgi-handler eggs to accompany spiffy CGI and FastCGI handlers for a small but powerful web server. cgi-handler has been factored out of spiffy. Proposals to add fcgi-handler to spiffy resulted in the decision to maintain these handlers in a dedicated egg. Signed-off-by: Andy Bennett <andyjpb@knodium.com>