[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] Patch for fastcgi on chicken master
From: |
Peter Danenberg |
Subject: |
Re: [Chicken-hackers] Patch for fastcgi on chicken master |
Date: |
Thu, 24 Mar 2011 20:53:31 -0500 |
User-agent: |
Mutt/1.5.21+22 (8d0281f79b21) (2010-12-30) |
Quoth Peter Danenberg on Pungenday, the 10th of Discord:
> The attached patch merely replaces pointer with c-pointer; seems to
> work.
While we're at it, we should be able to send binary data over OUT; the
signature of FCGX_PutStr is:
DLLAPI int FCGX_PutStr(const char *str, int n, FCGX_Stream *stream);
so let's change the binding to:
(foreign-lambda int "FCGX_PutStr" blob int fcgx-stream)
otherwise, we get:
Error: (##sys#make-c-string) cannot represent string with NUL bytes
as C string
See attached patch.
fastcgi-c-pointer-blob.patch
Description: Text document