Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: FastCGI



HA!  I give myself low marks for sanity over the past few days,
but I get an honorary A for sheer mad persistence.

The translation site now runs as a FastCGI server.  The HTTP
headers have been sorted out, too.

There were several problems, and the HTTP headers were certainly
in there as one of them.  The Tcl version we had upgraded to
recently (8.2) didn't like a bunch of the modules we were
using with it (although it never complained while loading
them --- we just got garbage output).  There was a problem
with the C version of the FastCGI module I was attempting
to use as well --- it couldn't handle POST; any attempt to
access stdin in the script caused the script or the process
manager (I'm not sure which) to fail with a seg fault.

But the core of failure was ugly interaction between a scrap
of code that redefines "puts" here to support multiple languages
in a single statement.  Something inside the Fcgi package
for Tcl barfed out a chunk of binary garbage when the ^
delimiters used in the script were encountered inside the
puts.  In the end, changing the order of loading
brought a stop to this misbehavior.

I'll see you-all tonight.  Nice to be able to enjoy a toast in
victory.

Cheers,
----
-x80
Frank G Bennett, Jr         @@
Faculty of Law, Nagoya Univ () email: bennett@example.com
Tel: +81[(0)52]789-2239     ()

--------------------------------------------------------------------
Next Nomikai Meeting: February 18 (Fri) 19:00 Tengu TokyoEkiMae
Next Technical Meeting:  March 11 (Sat) 13:00 Temple University Japan
* Topic: TBD
--------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links