23 years agoAdd support the shutdown Event.
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.

23 years ago0.59 release
skimo [Sun, 31 Dec 2000 21:56:10 +0000]
0.59 release

23 years agopure perl implementation
skimo [Sun, 31 Dec 2000 21:46:58 +0000]
pure perl implementation

23 years agoforgot to add remote.PL to the repository
skimo [Tue, 26 Dec 2000 20:15:46 +0000]
forgot to add remote.PL to the repository

23 years agoecho.fpl was still using the old interface
skimo [Thu, 14 Dec 2000 13:46:22 +0000]
echo.fpl was still using the old interface

23 years agocopy win32 configuration file instead of moving it
skimo [Mon, 11 Dec 2000 22:00:36 +0000]
copy win32 configuration file instead of moving it

23 years agodo close when not bound;0.58 release
skimo [Tue, 14 Nov 2000 23:15:20 +0000]
do close when not bound;0.58 release

23 years ago0.57 release
skimo [Sun, 12 Nov 2000 15:11:39 +0000]
0.57 release

23 years agodocument backlog and warn on incorrect use of accept
skimo [Sun, 12 Nov 2000 13:11:13 +0000]
document backlog and warn on incorrect use of accept

23 years agouse FCGX_Free
skimo [Sun, 5 Nov 2000 19:11:57 +0000]
use FCGX_Free

23 years agoset ipcFd = -1 in FCGX_InitRequest()
robs [Sun, 5 Nov 2000 19:04:36 +0000]
set ipcFd = -1 in FCGX_InitRequest()

23 years agoSet ipcFd = -1 when an error occurs and ipcFd is closed
robs [Sun, 5 Nov 2000 17:37:56 +0000]
Set ipcFd = -1 when an error occurs and ipcFd is closed

23 years agoProvide FCGX_Free().
robs [Sun, 5 Nov 2000 17:09:35 +0000]
Provide FCGX_Free().

23 years agowarn handler fix; 0.56 release
skimo [Fri, 3 Nov 2000 15:42:10 +0000]
warn handler fix; 0.56 release

23 years agoadd warning when in devkit and library hasn't been compiled yet
skimo [Wed, 1 Nov 2000 22:37:58 +0000]
add warning when in devkit and library hasn't been compiled yet

23 years agoIsFastCGI
skimo [Wed, 1 Nov 2000 15:12:24 +0000]
IsFastCGI

23 years agoGetHandle and GetEnvironment
skimo [Wed, 1 Nov 2000 14:27:49 +0000]
GetHandle and GetEnvironment

23 years agoHandle malloc failures in FCGI_OpenFromFILE() properly. Suggested by 'ZIGLIO Fredian...
robs [Mon, 30 Oct 2000 22:52:24 +0000]
Handle malloc failures in FCGI_OpenFromFILE() properly.  Suggested by 'ZIGLIO Frediano' <Frediano.Ziglio@omnitel.it>.

23 years ago0.55 release
skimo [Wed, 18 Oct 2000 21:15:57 +0000]
0.55 release

23 years ago o small documentation fix
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

23 years agoVersion 0.54 changes
skimo [Sun, 8 Oct 2000 19:48:23 +0000]
Version 0.54 changes

24 years agoEliminate String methods and constructor deprecation warnings under 1.3
robs [Mon, 2 Oct 2000 15:09:07 +0000]
Eliminate String methods and constructor deprecation warnings under 1.3

24 years agotweak for gcc 2.96 (RH7) [techprod@emumail.com]
robs [Mon, 2 Oct 2000 12:43:13 +0000]
tweak for gcc 2.96 (RH7) [techprod@emumail.com]

24 years agoFix a problem with ClientAddressList handling - jakub.spicak@deltaes.cz
robs [Wed, 20 Sep 2000 15:45:29 +0000]
Fix a problem with ClientAddressList handling - jakub.spicak@deltaes.cz

24 years ago*** empty log message ***
robs [Sat, 26 Aug 2000 13:58:33 +0000]
*** empty log message ***

24 years agoNote potential bug when accept returns fds >32. ernst@wildape.com
robs [Sat, 26 Aug 2000 02:43:49 +0000]
Note potential bug when accept returns fds >32. ernst@wildape.com

24 years agoFix bug in OS_Close() (when accept returns fds >8). 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

24 years agoDelete not needed M$ VC++ file.
robs [Thu, 10 Aug 2000 01:54:22 +0000]
Delete not needed M$ VC++ file.

24 years agoReset in,parmsPtr to NULL when reading the request fails
robs [Wed, 2 Aug 2000 13:07:40 +0000]
Reset in,parmsPtr to NULL when reading the request fails

24 years agoassert -> ASSERT
robs [Wed, 2 Aug 2000 12:36:43 +0000]
assert -> ASSERT

24 years agoSet in,out,err,parmsPtr to NULL in FCGX_FClose(FCGX_Stream *)
robs [Wed, 2 Aug 2000 12:21:07 +0000]
Set in,out,err,parmsPtr to NULL in FCGX_FClose(FCGX_Stream *)

24 years agofix the #include fcgio.h
robs [Thu, 27 Jul 2000 12:21:54 +0000]
fix the #include fcgio.h

24 years agoHi folks,
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

24 years ago0.53 release (fixes sfio)
skimo [Mon, 10 Jul 2000 09:56:49 +0000]
0.53 release (fixes sfio)

24 years agoMinor fixups
skimo [Fri, 21 Apr 2000 18:10:52 +0000]
Minor fixups

24 years agoDocument new interface.
skimo [Sun, 9 Apr 2000 19:00:12 +0000]
Document new interface.
Release 0.49

24 years agoDon't close stdout/stderr on init & check for null pointer.
robs [Mon, 27 Mar 2000 15:37:25 +0000]
Don't close stdout/stderr on init & check for null pointer.

24 years agoPut the RCS keyword '$Id: $' in each of the classes.
robs [Tue, 21 Mar 2000 12:12:25 +0000]
Put the RCS keyword '$Id: $' in each of the classes.

24 years agoPut the classes in the com.fastcgi package
robs [Tue, 21 Mar 2000 12:02:29 +0000]
Put the classes in the com.fastcgi package

24 years agomove <sys/types.h> include in os_unix.c
skimo [Thu, 3 Feb 2000 08:52:56 +0000]
move <sys/types.h> include in os_unix.c

24 years agodetach/attach
skimo [Mon, 31 Jan 2000 21:34:24 +0000]
detach/attach
remove DESTROY on FCGI::Stream

25 years agodie handler
skimo [Sat, 11 Sep 1999 19:41:09 +0000]
die handler

25 years agoRemove the Perl and TCL examples; examples exist in their respective directories.
roberts [Fri, 10 Sep 1999 17:45:40 +0000]
Remove the Perl and TCL examples; examples exist in their respective directories.

25 years agoWrite an empty STDIN PDU to indicate stdin EOF.
roberts [Fri, 27 Aug 1999 19:39:17 +0000]
Write an empty STDIN PDU to indicate stdin EOF.

25 years agoCouple of minor WIN32 tweaks suggested by
roberts [Fri, 27 Aug 1999 14:03:35 +0000]
Couple of minor WIN32  tweaks suggested by
G. Del Merritt [dmerritt@intranetics.com].

25 years ago0.48 release
skimo [Fri, 27 Aug 1999 13:28:47 +0000]
0.48 release
access to socket function

25 years agoRemove Win #include
roberts [Sun, 15 Aug 1999 19:32:20 +0000]
Remove Win #include

25 years agoRecover from header juggling - (Solaris)
roberts [Sun, 15 Aug 1999 17:57:17 +0000]
Recover from header juggling - (Solaris)

25 years agoMissed a couple..
roberts [Sun, 15 Aug 1999 03:47:31 +0000]
Missed a couple..

Remove unnecessary .dfc and .mb files.

25 years agoRemove unnecessary .dfc files.
roberts [Sun, 15 Aug 1999 03:44:33 +0000]
Remove unnecessary .dfc files.

25 years agoC++ support - provided by Michael Richards <mimiker@scifair.acadiau.ca>n(Apollo Softw...
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

25 years agoEliminate a warning
roberts [Sat, 14 Aug 1999 21:36:58 +0000]
Eliminate a warning

25 years agoFix a silly change I made back w/ the multi-thread changes
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.

25 years agoFix OS_Accept arg on Win32.
roberts [Thu, 12 Aug 1999 23:56:11 +0000]
Fix OS_Accept arg on Win32.
Use consistent name for webServerAddrs arg.

25 years agoRemove a couple of warnings
roberts [Tue, 10 Aug 1999 22:27:12 +0000]
Remove a couple of warnings

25 years agoUpdate based on the FCGX_Accept_r() API change
roberts [Tue, 10 Aug 1999 14:40:32 +0000]
Update based on the FCGX_Accept_r() API change

25 years agoFix FCGX_Accept()
roberts [Tue, 10 Aug 1999 14:19:29 +0000]
Fix FCGX_Accept()

25 years agonew API changes
skimo [Tue, 10 Aug 1999 11:06:37 +0000]
new API changes

25 years agohandle NULLs in VFPrintf
skimo [Tue, 10 Aug 1999 10:05:01 +0000]
handle NULLs in VFPrintf

25 years agoInitial shot at supporting initializing FastCGI socket on our own.
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.

25 years agoLinux needs <sys/types.h>
roberts [Thu, 5 Aug 1999 14:18:35 +0000]
Linux needs <sys/types.h>

25 years agoSmall clean ups
skimo [Tue, 3 Aug 1999 15:52:53 +0000]
Small clean ups
Lock ifdef USE_LOCKING
perl5.00560 compatibility

25 years agoRemove an OM Secure Server specific comment.
roberts [Tue, 3 Aug 1999 13:34:36 +0000]
Remove an OM Secure Server specific comment.

25 years agoand actually use the HAVE_SOCKLEN define
skimo [Mon, 2 Aug 1999 19:22:00 +0000]
and actually use the HAVE_SOCKLEN define

25 years agoComment about accept serialization
roberts [Mon, 2 Aug 1999 18:11:50 +0000]
Comment about accept serialization

Add pid to output

sleep(2).

25 years agoCheck for socklen_t
skimo [Mon, 2 Aug 1999 15:51:05 +0000]
Check for socklen_t

25 years agomove PRINTF into correct package
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

25 years agoUse pthread_mutexes for locking the accept() and data.
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.

25 years agosome cleanups
skimo [Fri, 30 Jul 1999 08:22:31 +0000]
some cleanups
0.46 release

25 years ago *) Fixed an unintentional sign extension during promotion in Java's
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>

25 years agoFix a bug in "int read()"
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]

25 years agoFix sfio support
skimo [Thu, 29 Jul 1999 12:01:00 +0000]
Fix sfio support

25 years agoFinish off thread support (fingers crossed)
skimo [Wed, 28 Jul 1999 23:09:56 +0000]
Finish off thread support (fingers crossed)
Add threading example

25 years agoFurther threadification
skimo [Wed, 28 Jul 1999 19:23:08 +0000]
Further threadification

25 years agoPartial threadification.
skimo [Wed, 28 Jul 1999 16:15:40 +0000]
Partial threadification.
Still incomplete !

25 years agoMove sample-store to SampleStore
roberts [Wed, 28 Jul 1999 02:25:32 +0000]
Move sample-store to SampleStore

25 years agoMove sample-store to SampleStore
roberts [Wed, 28 Jul 1999 02:16:15 +0000]
Move sample-store to SampleStore

25 years agoMove sample-store to SampleStore
roberts [Wed, 28 Jul 1999 01:11:45 +0000]
Move sample-store to SampleStore

25 years agoMove sample-store to SampleStore
roberts [Wed, 28 Jul 1999 01:08:15 +0000]
Move sample-store to SampleStore
Don't create perl & tclsh links

25 years agoenv bug, header juggling, C++ warnings
roberts [Wed, 28 Jul 1999 00:38:34 +0000]
env bug, header juggling, C++ warnings

25 years agoAdd $(LIBS) to threaded.c
roberts [Wed, 28 Jul 1999 00:37:03 +0000]
Add $(LIBS) to threaded.c

25 years agoheader juggling
roberts [Wed, 28 Jul 1999 00:35:28 +0000]
header juggling

25 years agoheader juggling & print thread id
roberts [Wed, 28 Jul 1999 00:34:49 +0000]
header juggling & print thread id

25 years agoANSI function definitions
roberts [Wed, 28 Jul 1999 00:33:01 +0000]
ANSI function definitions

25 years agoheader juggling & C++ warnings
roberts [Wed, 28 Jul 1999 00:31:56 +0000]
header juggling & C++ warnings

25 years agomore header juggling
roberts [Wed, 28 Jul 1999 00:27:03 +0000]
more header juggling

25 years agoprevent a C++ compiler error
roberts [Wed, 28 Jul 1999 00:25:18 +0000]
prevent a C++ compiler error

25 years agosome more #include juggling
roberts [Wed, 28 Jul 1999 00:18:31 +0000]
some more #include juggling

25 years agoThis should be replaced with Tom Poindexter's TCL lib or a
roberts [Wed, 28 Jul 1999 00:13:08 +0000]
This should be replaced with Tom Poindexter's TCL lib or a
reference to it

25 years agodon't need this - it doesn't work
roberts [Tue, 27 Jul 1999 20:24:49 +0000]
don't need this - it doesn't work

25 years agoget the power of fcgi_config.h
roberts [Tue, 27 Jul 1999 19:01:38 +0000]
get the power of fcgi_config.h

25 years agoRemove Open Market's sample config file.
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.

25 years agoeliminate C++ void* implicit cast warnings
roberts [Tue, 27 Jul 1999 15:00:16 +0000]
eliminate C++ void* implicit cast warnings

25 years agouse ANSI style function definitions
roberts [Tue, 27 Jul 1999 14:59:09 +0000]
use ANSI style function definitions

25 years agoput back <sys/time.h> for Unix
roberts [Tue, 27 Jul 1999 13:57:45 +0000]
put back <sys/time.h>  for Unix

25 years agoput back environ declaration for Unix
roberts [Tue, 27 Jul 1999 13:56:59 +0000]
put back environ declaration for Unix

25 years agoUse FCGX_InitRequest() to initialize the static FCGX_Request
roberts [Tue, 27 Jul 1999 02:17:05 +0000]
Use FCGX_InitRequest() to initialize the static FCGX_Request
structure instead of memcpy.

25 years agoexit() -> return() to eliminate a warning on win32
roberts [Mon, 26 Jul 1999 22:07:19 +0000]
exit() -> return() to eliminate a warning on win32

25 years ago#include <stdio.h> - for environ
roberts [Mon, 26 Jul 1999 22:03:07 +0000]
#include <stdio.h>  -  for environ

25 years agoRemove unneeded include file <sys/time.h>
roberts [Mon, 26 Jul 1999 21:35:13 +0000]
Remove unneeded include file <sys/time.h>