On Wed, Mar 20, 2002 at 05:00:09AM -0500, Neal M. Holtz wrote:
>The s.getpeername() call raises an exception, which causes
>_isFCGI to be set to 0. Why does this happen?
This comes from the FastCGI specification, and is how a script tells
whether it's being run under FastCGI or not. See section 2.2
http://www.fastcgi.com/devkit/doc/fcgi-spec.html .
>The (err,errmsg) is 88, Socket operation on non-socket.
Are you on Windows? Perhaps the Windows socket API returns different
errors, and the test should be changed to assume FastCGI if the error
is 88.
--amk (www.amk.ca)
But more wonderful than the lore of old men and the lore of books is
the secret lore of ocean.
-- H.P. Lovecraft, "The White Ship"