skimo [Mon, 30 Apr 2001 15:35:18 +0000]
attempt at better explaining OpenSocket
skimo [Mon, 30 Apr 2001 15:00:50 +0000]
bind to non-INADDR_ANY for TCP/IP
("James E Jurach Jr." <muaddib@fundsxpress.com>)
robs [Sat, 31 Mar 2001 01:46:32 +0000]
Clean up and remove some useless code.
robs [Fri, 30 Mar 2001 16:49:22 +0000]
Protect write access to the fdTable. Wolfgang Meisl [meisl@brainlab.com]
skimo [Wed, 28 Mar 2001 15:49:20 +0000]
Don't try to compile anything on pure perl build
robs [Tue, 27 Mar 2001 14:03:20 +0000]
Remove page breaks.
robs [Tue, 27 Mar 2001 13:21:26 +0000]
no message
robs [Tue, 27 Mar 2001 13:18:08 +0000]
Clear errno before calling getpeername() to determine if the app is running as a FastCGI application.
skimo [Tue, 27 Mar 2001 11:49:11 +0000]
add BINMODE method and comment on socket perms
robs [Tue, 27 Mar 2001 04:13:12 +0000]
Cleaned up OS_CreateLocalIpcFd() and OS_FcgiConnect().
OS_CreateLocalIpcFd() now sets hListen and listentType so self start works (suggested by guru_upya@yahoo.com).
robs [Mon, 26 Mar 2001 20:04:56 +0000]
Add support the shutdown Event.
Mutex access to the accept for both TCP sockets and named pipes so that the shutdown flag can be checked periodically.
Prevent some potential buffer overflows.
skimo [Sun, 31 Dec 2000 21:56:10 +0000]
0.59 release
skimo [Sun, 31 Dec 2000 21:46:58 +0000]
pure perl implementation
skimo [Tue, 26 Dec 2000 20:15:46 +0000]
forgot to add remote.PL to the repository
skimo [Thu, 14 Dec 2000 13:46:22 +0000]
echo.fpl was still using the old interface
skimo [Mon, 11 Dec 2000 22:00:36 +0000]
copy win32 configuration file instead of moving it
skimo [Tue, 14 Nov 2000 23:15:20 +0000]
do close when not bound;0.58 release
skimo [Sun, 12 Nov 2000 15:11:39 +0000]
0.57 release
skimo [Sun, 12 Nov 2000 13:11:13 +0000]
document backlog and warn on incorrect use of accept
skimo [Sun, 5 Nov 2000 19:11:57 +0000]
use FCGX_Free
robs [Sun, 5 Nov 2000 19:04:36 +0000]
set ipcFd = -1 in FCGX_InitRequest()
robs [Sun, 5 Nov 2000 17:37:56 +0000]
Set ipcFd = -1 when an error occurs and ipcFd is closed
robs [Sun, 5 Nov 2000 17:09:35 +0000]
Provide FCGX_Free().
skimo [Fri, 3 Nov 2000 15:42:10 +0000]
warn handler fix; 0.56 release
skimo [Wed, 1 Nov 2000 22:37:58 +0000]
add warning when in devkit and library hasn't been compiled yet
skimo [Wed, 1 Nov 2000 15:12:24 +0000]
IsFastCGI
skimo [Wed, 1 Nov 2000 14:27:49 +0000]
GetHandle and GetEnvironment
robs [Mon, 30 Oct 2000 22:52:24 +0000]
Handle malloc failures in FCGI_OpenFromFILE() properly. Suggested by 'ZIGLIO Frediano' <Frediano.Ziglio@omnitel.it>.
skimo [Wed, 18 Oct 2000 21:15:57 +0000]
0.55 release
skimo [Wed, 18 Oct 2000 20:39:15 +0000]
o small documentation fix
o compilation issues with older perls fixed
o library initialization when using sockets fixed
skimo [Sun, 8 Oct 2000 19:48:23 +0000]
Version 0.54 changes
robs [Mon, 2 Oct 2000 15:09:07 +0000]
Eliminate String methods and constructor deprecation warnings under 1.3
robs [Mon, 2 Oct 2000 12:43:13 +0000]
tweak for gcc 2.96 (RH7) [techprod@emumail.com]
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