Tech note on FastCGI libs for NT
Bill Snapper (snapper@OpenMarket.com)
Thu, 05 Jun 1997 10:58:29 -0400
Message-Id: <3396D3D2.470C@openmarket.com>
Date: Thu, 05 Jun 1997 10:58:29 -0400
From: Bill Snapper <snapper@OpenMarket.com>
To: fastcgi-developers@OpenMarket.com
Subject: Tech note on FastCGI libs for NT
Hello,
I ran into a bug in the FastCGI library code I did for NT that I
wanted to pass along. This bug is in beta libraries (yes, it's in
both beta 1 and beta 2).
The bug is in the file os_win32.c. The FILE_FLAG_OVERLAPPED flag is
passed to the "CreateNamedPipe" function and this is wrong. Delete
this flag and rebuild your libraries. This flag is leftover from some
experiments I was doing with overlapped I/O on NT and should have been
removed.
This flag can cause the call to ConnectNamedPipe to return a false
"connected" indication when used without overlapped I/O. The problem
is very subtle but will drive you a bit mad trying to figure out what
is actually going on.
A fix has been checked into the main repository here at Open Market
and it will be in the next release (no, I don't have a date for this
yet).
Hope this info is useful.
- Bill -
--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Bill Snapper | Open Market, Inc. | My opinions are my own,
Software Engineer | 245 First St. | and not necessarily
snapper@openmarket.com | Cambridge, MA 02142 | those of my employer,
1-617-949-7365 | | Open Market Inc.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++