On Sunday, 24 November 2013 at 12:07:18 UTC, Dejan Lekic wrote:
On Saturday, 23 November 2013 at 23:47:11 UTC, Adam D. Ruppe
wrote:
On Saturday, 23 November 2013 at 23:30:09 UTC, Jeroen Bollen
wrote:
I added the code to my GitHub repo; there don't seem to be
any uncommon associative arrays:
Yea, it is the immutable string[string], I used the same
pattern in my cgi.d and saw that too (sometimes, like I said,
it is randomly there or not. it seems to be the outer
immutable that triggers the problem.
BTW, my cgi.d has fastcgi support too
https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff/blob/master/cgi.d
compile with -version=fastcgi. It uses the C libfcgi in that
mode. Feel free to copy any of my code you want if it is
helpful to you.
Adam, does it support multiplexing? Looks like people do not
care much about that FastCGI feature... :(
My library does but it doesn't have an interface for requests yet
so you'll have to manually 'build' them using the records.