robs [Wed, 20 Sep 2000 15:45:29 +0000]
Fix a problem with ClientAddressList handling - jakub.spicak@deltaes.cz
robs [Sat, 26 Aug 2000 13:58:33 +0000]
*** empty log message ***
robs [Sat, 26 Aug 2000 02:43:49 +0000]
Note potential bug when accept returns fds >32. ernst@wildape.com
robs [Sat, 26 Aug 2000 02:43:01 +0000]
Fix bug in OS_Close() (when accept returns fds >8). ernst@wildape.com
robs [Thu, 10 Aug 2000 01:54:22 +0000]
Delete not needed M$ VC++ file.
robs [Wed, 2 Aug 2000 13:07:40 +0000]
Reset in,parmsPtr to NULL when reading the request fails
robs [Wed, 2 Aug 2000 12:36:43 +0000]
assert -> ASSERT
robs [Wed, 2 Aug 2000 12:21:07 +0000]
Set in,out,err,parmsPtr to NULL in FCGX_FClose(FCGX_Stream *)
robs [Thu, 27 Jul 2000 12:21:54 +0000]
fix the #include fcgio.h
robs [Fri, 21 Jul 2000 20:56:28 +0000]
Hi folks,
The next two posts (subject fcgio2.h and fcgio2.cpp) contain the
documentation and source code for the new version of the fcgio
FCGI C++ iostream library.
The new version fixes two very bad bugs in the original version:
1. falsely indicating an EOF when uploading binary data as would
be done with a <input type=file> form using multipart form
encoding - or if a hacker were to send binary data instead of
normal form data.
2. data loss when using different read methods, such as a getline()
followed by a read().
There is also now full buffer support for both input and output
streams.
Two new methods have been added. Attach() lets you attach to
an fcgi stream pointer in your code, so that you can construct
your streams at the beginning of your code and attach() to the fcgi
interface pointers later (i.e. after accept())
Drain() is a method which provides a way to drain the get buffer
for those of you who need to mix istream code with the I/O
provided by the fcgiapp library (and hence sync the inputs).
The docs have been greatly expanded to include some example code
in the header file. See fcgio2.h for full details.
Note that the stream types are now fcgi_istream and fcgi_ostream
NOT fcgio_xxx as was done in the older version.
It is my hope that this code provides everyone with a higher
performance, more reliable C++ interface than that which previously
existed.
Enjoy!
Mike Shell
Modified Files: libfcgi/fcgio.cpp include/fcgio.h
skimo [Mon, 10 Jul 2000 09:56:49 +0000]
0.53 release (fixes sfio)
skimo [Fri, 21 Apr 2000 18:10:52 +0000]
Minor fixups
skimo [Sun, 9 Apr 2000 19:00:12 +0000]
Document new interface.
Release 0.49
robs [Mon, 27 Mar 2000 15:37:25 +0000]
Don't close stdout/stderr on init & check for null pointer.
robs [Tue, 21 Mar 2000 12:12:25 +0000]
Put the RCS keyword '$Id: $' in each of the classes.
robs [Tue, 21 Mar 2000 12:02:29 +0000]
Put the classes in the com.fastcgi package
skimo [Thu, 3 Feb 2000 08:52:56 +0000]
move <sys/types.h> include in os_unix.c
skimo [Mon, 31 Jan 2000 21:34:24 +0000]
detach/attach
remove DESTROY on FCGI::Stream
skimo [Sat, 11 Sep 1999 19:41:09 +0000]
die handler
roberts [Fri, 10 Sep 1999 17:45:40 +0000]
Remove the Perl and TCL examples; examples exist in their respective directories.
roberts [Fri, 27 Aug 1999 19:39:17 +0000]
Write an empty STDIN PDU to indicate stdin EOF.
roberts [Fri, 27 Aug 1999 14:03:35 +0000]
Couple of minor WIN32 tweaks suggested by
G. Del Merritt [dmerritt@intranetics.com].
skimo [Fri, 27 Aug 1999 13:28:47 +0000]
0.48 release
access to socket function
roberts [Sun, 15 Aug 1999 19:32:20 +0000]
Remove Win #include
roberts [Sun, 15 Aug 1999 17:57:17 +0000]
Recover from header juggling - (Solaris)
roberts [Sun, 15 Aug 1999 03:47:31 +0000]
Missed a couple..
Remove unnecessary .dfc and .mb files.
roberts [Sun, 15 Aug 1999 03:44:33 +0000]
Remove unnecessary .dfc files.
roberts [Sun, 15 Aug 1999 03:37:59 +0000]
C++ support - provided by Michael Richards <mimiker@scifair.acadiau.ca>n(Apollo Software) and George Feinberg
roberts [Sat, 14 Aug 1999 21:36:58 +0000]
Eliminate a warning
roberts [Sat, 14 Aug 1999 21:20:56 +0000]
Fix a silly change I made back w/ the multi-thread changes
that broke WinNT.
Eliminate the global reqDataPtr to eliminate hiding it and confusing me.
roberts [Thu, 12 Aug 1999 23:56:11 +0000]
Fix OS_Accept arg on Win32.
Use consistent name for webServerAddrs arg.
roberts [Tue, 10 Aug 1999 22:27:12 +0000]
Remove a couple of warnings
roberts [Tue, 10 Aug 1999 14:40:32 +0000]
Update based on the FCGX_Accept_r() API change
roberts [Tue, 10 Aug 1999 14:19:29 +0000]
Fix FCGX_Accept()
skimo [Tue, 10 Aug 1999 11:06:37 +0000]
new API changes
skimo [Tue, 10 Aug 1999 10:05:01 +0000]
handle NULLs in VFPrintf
roberts [Thu, 5 Aug 1999 21:25:51 +0000]
Initial shot at supporting initializing FastCGI socket on our own.
It builds on a Sun, buts untested.
There may be some issues with WinNT.
roberts [Thu, 5 Aug 1999 14:18:35 +0000]
Linux needs <sys/types.h>
skimo [Tue, 3 Aug 1999 15:52:53 +0000]
Small clean ups
Lock ifdef USE_LOCKING
perl5.00560 compatibility
roberts [Tue, 3 Aug 1999 13:34:36 +0000]
Remove an OM Secure Server specific comment.
skimo [Mon, 2 Aug 1999 19:22:00 +0000]
and actually use the HAVE_SOCKLEN define
roberts [Mon, 2 Aug 1999 18:11:50 +0000]
Comment about accept serialization
Add pid to output
sleep(2).
skimo [Mon, 2 Aug 1999 15:51:05 +0000]
Check for socklen_t
skimo [Sat, 31 Jul 1999 21:54:45 +0000]
move PRINTF into correct package
deprecated set_exit_status
general cleanup, moving old non thread safe interface from xs to perl
roberts [Fri, 30 Jul 1999 19:09:46 +0000]
Use pthread_mutexes for locking the accept() and data.
Still need to fix the fcgiapp & os_ for accept locking.
skimo [Fri, 30 Jul 1999 08:22:31 +0000]
some cleanups
0.46 release
roberts [Thu, 29 Jul 1999 13:37:06 +0000]
*) Fixed an unintentional sign extension during promotion in Java's
FCGIInputStream.read(). Takayuki Tachikawa <tachi@po.ntts.co.jp>
roberts [Thu, 29 Jul 1999 13:35:50 +0000]
Fix a bug in "int read()"
previously the byte was being sign extended
Takayuki Tachikawa [tachi@po.ntts.co.jp]
skimo [Thu, 29 Jul 1999 12:01:00 +0000]
Fix sfio support
skimo [Wed, 28 Jul 1999 23:09:56 +0000]
Finish off thread support (fingers crossed)
Add threading example
skimo [Wed, 28 Jul 1999 19:23:08 +0000]
Further threadification
skimo [Wed, 28 Jul 1999 16:15:40 +0000]
Partial threadification.
Still incomplete !
roberts [Wed, 28 Jul 1999 02:25:32 +0000]
Move sample-store to SampleStore
roberts [Wed, 28 Jul 1999 02:16:15 +0000]
Move sample-store to SampleStore
roberts [Wed, 28 Jul 1999 01:11:45 +0000]
Move sample-store to SampleStore
roberts [Wed, 28 Jul 1999 01:08:15 +0000]
Move sample-store to SampleStore
Don't create perl & tclsh links
roberts [Wed, 28 Jul 1999 00:38:34 +0000]
env bug, header juggling, C++ warnings
roberts [Wed, 28 Jul 1999 00:37:03 +0000]
Add $(LIBS) to threaded.c
roberts [Wed, 28 Jul 1999 00:35:28 +0000]
header juggling
roberts [Wed, 28 Jul 1999 00:34:49 +0000]
header juggling & print thread id
roberts [Wed, 28 Jul 1999 00:33:01 +0000]
ANSI function definitions
roberts [Wed, 28 Jul 1999 00:31:56 +0000]
header juggling & C++ warnings
roberts [Wed, 28 Jul 1999 00:27:03 +0000]
more header juggling
roberts [Wed, 28 Jul 1999 00:25:18 +0000]
prevent a C++ compiler error
roberts [Wed, 28 Jul 1999 00:18:31 +0000]
some more #include juggling
roberts [Wed, 28 Jul 1999 00:13:08 +0000]
This should be replaced with Tom Poindexter's TCL lib or a
reference to it
roberts [Tue, 27 Jul 1999 20:24:49 +0000]
don't need this - it doesn't work
roberts [Tue, 27 Jul 1999 19:01:38 +0000]
get the power of fcgi_config.h
roberts [Tue, 27 Jul 1999 18:51:40 +0000]
Remove Open Market's sample config file.
There shouldn't be anything server specific in here and besides
the OM Server is no longer available.
roberts [Tue, 27 Jul 1999 15:00:16 +0000]
eliminate C++ void* implicit cast warnings
roberts [Tue, 27 Jul 1999 14:59:09 +0000]
use ANSI style function definitions
roberts [Tue, 27 Jul 1999 13:57:45 +0000]
put back <sys/time.h> for Unix
roberts [Tue, 27 Jul 1999 13:56:59 +0000]
put back environ declaration for Unix
roberts [Tue, 27 Jul 1999 02:17:05 +0000]
Use FCGX_InitRequest() to initialize the static FCGX_Request
structure instead of memcpy.
roberts [Mon, 26 Jul 1999 22:07:19 +0000]
exit() -> return() to eliminate a warning on win32
roberts [Mon, 26 Jul 1999 22:03:07 +0000]
#include <stdio.h> - for environ
roberts [Mon, 26 Jul 1999 21:35:13 +0000]
Remove unneeded include file <sys/time.h>
roberts [Mon, 26 Jul 1999 05:32:57 +0000]
Fix warnigs - mostly main() complaints.
Modified Files: README examples/tiny-fcgi.c examples/tiny-fcgi2.c
examples/tiny-authorizer.c examples/echo.c examples/sample-store.c
examples/echo2.c examples/log-dump.c
roberts [Mon, 26 Jul 1999 05:06:09 +0000]
Removed examples/tiny-cgi.c (it wasn't a FastCGI application?!).
Modified Files: README examples/Makefile.in
Removed Files: examples/tiny-cgi.c
roberts [Mon, 26 Jul 1999 04:55:14 +0000]
A little more tweeking to eliminate warnings..
Modified Files: cgi-fcgi.c
roberts [Mon, 26 Jul 1999 04:45:52 +0000]
Remove some debugging code and clean up some gcc warnings in cgi-fcgi.c.
Modified Files: README cgi-fcgi/cgi-fcgi.c
roberts [Mon, 26 Jul 1999 04:28:07 +0000]
*) Add multithread support to the fcgiapp lib and an example multithreaded
application, threaded.c. Based on work by Dennis Payne
<dpayne@softscape.com> and Gene Sokolov <hook@aktrad.ru>.
Modified Files: README examples/Makefile.in libfcgi/fcgiapp.c include/fcgiapp.h
Added Files: examples/threaded.c
roberts [Thu, 10 Jun 1999 21:20:33 +0000]
Remove the printf() and #include of stdio.h from examples/echo2.c.
roberts [Wed, 9 Jun 1999 03:27:25 +0000]
Remove them dang DOS CRs.
Modified Files: fcgi_stdio.h
roberts [Mon, 7 Jun 1999 05:39:02 +0000]
Remove the static initialization of _fcgi_sF[] because on glibc 2.x based
systems stdin/stdout/stderr are no longer static.
Modified Files: README libfcgi/fcgi_stdio.c
roberts [Mon, 7 Jun 1999 05:03:47 +0000]
Flush FastCGI buffers at application exit. <eichin@fastengines.com>
Modified Files: README libfcgi/fcgi_stdio.c
roberts [Fri, 28 May 1999 02:19:58 +0000]
- Remove the parenthesis in the ASSERT macro definition.
[Quentin Bennett <quentin.bennett@trilogy.co.nz>]
Modified Files: include/fcgimisc.h
skimo [Mon, 8 Mar 1999 16:26:03 +0000]
ActivePerl compatibility
skimo [Sun, 28 Feb 1999 17:46:29 +0000]
Change reference to INSTALL to configure.readme
Allow bypassing the installation of die and warn handler.
roberts [Sat, 13 Feb 1999 05:26:41 +0000]
Rename Perl -> perl (gotta move all the files).
Added Files:
perl/ChangeLog perl/FCGI.PL perl/FCGI.pm perl/MANIFEST
perl/Makefile.PL perl/README perl/configure perl/configure.in
perl/configure.readme perl/echo.PL perl/typemap
roberts [Fri, 12 Feb 1999 00:46:41 +0000]
Wrap write()s in a loop to make sure the entire buffer is written.
Modified Files: fcgiapp.c
roberts [Wed, 10 Feb 1999 12:26:33 +0000]
Removed a handful of wild (DOS) carriage returns.
Modified Files: fcgi_stdio.h
roberts [Sat, 6 Feb 1999 06:15:11 +0000]
Update mailing list links -> idle.com.
Modified Files: fcgi-devel-kit.htm
roberts [Sat, 6 Feb 1999 06:01:33 +0000]
Don't need these..
Removed Files: fcgi-devel-kit.gut fcgi-java.gut
fcgi-perf.gut fcgi-perl.gut FCGI-TCL.GUT
roberts [Sat, 6 Feb 1999 05:08:33 +0000]
Moved the workaround from the last patch out from under the
serialize accept lock - no point to holding the lock while
we sit and wait.
Reorganized OS_FcgiIpcAccept().
Modified Files: os_unix.c
roberts [Fri, 5 Feb 1999 04:08:55 +0000]
A workaround for a problem on (at least) Linux 2.0.x and UnixWare.
When using Unix Domain sockets, if the web server close()ed the
connection before the accept() a valid file descriptor is returned
by accept() but there's no data to be read and thus the first
read() would block forever.
Modified Files: include/fcgios.h libfcgi/os_unix.c
roberts [Sun, 31 Jan 1999 02:45:49 +0000]
Files moved up from the old src directory.
Moved Files:
FCGIInterface.java FCGIInputStream.java FCGIGlobalDefs.java
FCGIMessage.java FCGIOutputStream.java FCGIRequest.java
roberts [Sun, 31 Jan 1999 02:43:02 +0000]
Moved the source files up a directory.
Moved Files:
FCGIGlobalDefs.java FCGIInputStream.java FCGIInterface.java
FCGIMessage.java FCGIOutputStream.java FCGIRequest.java
roberts [Sun, 31 Jan 1999 02:26:31 +0000]
There's no reason we need to maintain compiled classes in a devkit.
Removed Files:
FCGIGlobalDefs.class FCGIInputStream.class FCGIInterface.class
FCGIMessage.class FCGIOutputStream.class FCGIRequest.class
roberts [Sat, 30 Jan 1999 22:33:23 +0000]
Misc. updates to get a clean make on Linux. A bit of
hack - I didn't bother figuring out autoconf.
Modified Files: cgi-fcgi/cgi-fcgi.c include/fcgios.h