[tbnl-devel] SCGI support?

Stefan Scholl stesch at no-spoon.de
Wed Aug 10 14:33:11 UTC 2005


On 2005-08-08 23:36:18, Stefan Scholl wrote:
> Has anyone thought about implementing a SCGI interface for TBNL?

If anyone wants to do it: In GET-REQUEST-DATA (modlisp.lisp) is a
test for mod_lisp connection or other. First a single line is
read with READ-LINE to have some data for the test.

Here is a good place to test for SCGI. But you can't use
READ-LINE for it. SCGI sends binary data: ASCII + #\Null
No EOL.

Could be a problem for Unicode enabled CL implementations
like SBCL?

(The type of the socket stream can be seen in function
ACCEPT-TCP-CONNECTION of KMRCL's sockets.lisp. For SBCL it's the
element-type BASE-CHAR.)



Regards,
Stefan





More information about the Tbnl-devel mailing list