23 years agoRemove unneeded header includes.
robs [Fri, 22 Jun 2001 14:26:39 +0000]
Remove unneeded header includes.

23 years agoRename FreeStream -> FCGX_FreeStream and CreateWriter ->FCGX_CreateWriter (they're...
robs [Fri, 22 Jun 2001 14:21:34 +0000]
Rename FreeStream -> FCGX_FreeStream and CreateWriter ->FCGX_CreateWriter (they're exported).

23 years agoMore bloody header/define juggling.
robs [Fri, 22 Jun 2001 14:21:03 +0000]
More bloody header/define juggling.

Rename FreeStream -> FCGX_FreeStream and CreateWriter ->FCGX_CreateWriter (they're exported).

23 years agoMove fcgiappmisc.h into fcgiapp.h
robs [Fri, 22 Jun 2001 14:19:23 +0000]
Move fcgiappmisc.h into fcgiapp.h

23 years agoChange the ordering on DLLAPI define, only define if not defined (unix case).
robs [Fri, 22 Jun 2001 13:21:15 +0000]
Change the ordering on DLLAPI define, only define if not defined (unix case).

23 years agoextra argument for FCGX_Free
skimo [Fri, 22 Jun 2001 13:17:18 +0000]
extra argument for FCGX_Free

23 years agoRemove DLLAPI define.
robs [Fri, 22 Jun 2001 13:15:10 +0000]
Remove DLLAPI define.

Change fcgiapp.h include from sytem to local.

23 years agoMake str_dup static.
robs [Fri, 22 Jun 2001 13:13:41 +0000]
Make str_dup static.

23 years agoDon't keep connection on failure.
skimo [Fri, 22 Jun 2001 09:12:03 +0000]
Don't keep connection on failure.

23 years agoDon't remove SHUTDOWN_EVENT from initial env.
robs [Fri, 22 Jun 2001 03:00:18 +0000]
Don't remove SHUTDOWN_EVENT from initial env.

23 years agocasts and arg touching to prevent warnings.
robs [Fri, 22 Jun 2001 02:19:55 +0000]
casts and arg touching to prevent warnings.

23 years agoFix build settings.
robs [Thu, 21 Jun 2001 21:54:11 +0000]
Fix build settings.

23 years agoAdd exe dependencies on lib.
robs [Thu, 21 Jun 2001 21:52:35 +0000]
Add exe dependencies on lib.

23 years agotype changes, casts, and arg touching to prevent warnings.
robs [Wed, 20 Jun 2001 17:02:09 +0000]
type changes, casts, and arg touching to prevent warnings.

23 years agocasts and initializers to prevent warnings.
robs [Wed, 20 Jun 2001 16:50:02 +0000]
casts and initializers to prevent warnings.

23 years agoTouch args to avoid compiler warnings.
robs [Wed, 20 Jun 2001 16:08:51 +0000]
Touch args to avoid compiler warnings.

23 years agoEliminate const on buffersize to eliminate a compiler warning.
robs [Wed, 20 Jun 2001 16:05:55 +0000]
Eliminate const on buffersize to eliminate a compiler warning.

23 years agoHeader play
robs [Wed, 20 Jun 2001 16:05:00 +0000]
Header play

23 years agoA little header juggling.
robs [Wed, 20 Jun 2001 16:04:17 +0000]
A little header juggling.

Add a cast to eliminate a warning.

23 years agoRevert isFCGI() to its original form - ignoring the sock arg.
robs [Wed, 20 Jun 2001 02:01:51 +0000]
Revert isFCGI() to its original form - ignoring the sock arg.

23 years agoRemove page breaks.
robs [Wed, 20 Jun 2001 00:56:51 +0000]
Remove page breaks.

23 years agoRemove a bogus check in last commit.
robs [Tue, 19 Jun 2001 21:03:13 +0000]
Remove a bogus check in last commit.

23 years agoheader fiddling.
robs [Tue, 19 Jun 2001 17:49:26 +0000]
header fiddling.

23 years agoThese don't build (yet) under Win so exclude them.
robs [Tue, 19 Jun 2001 17:44:00 +0000]
These don't build (yet) under Win so exclude them.

23 years agoThis is a generated file and shouldn't be under source control.
robs [Tue, 19 Jun 2001 17:15:12 +0000]
This is a generated file and shouldn't be under source control.

23 years agoFix includes.
robs [Tue, 19 Jun 2001 17:12:01 +0000]
Fix includes.

23 years agoFix includes.
robs [Tue, 19 Jun 2001 17:11:39 +0000]
Fix includes.

Cleanup accept handling.

23 years agoAdd fcgiappmisc.h back in.
robs [Tue, 19 Jun 2001 16:18:14 +0000]
Add fcgiappmisc.h back in.

23 years agoAdd configure related status files.
robs [Tue, 19 Jun 2001 16:14:08 +0000]
Add configure related status files.

23 years agoAdd editor backup files.
robs [Tue, 19 Jun 2001 16:11:12 +0000]
Add editor backup files.

23 years agorenamed libfcgi.dsp
robs [Tue, 19 Jun 2001 16:06:16 +0000]
renamed libfcgi.dsp

23 years agoAdd the examples
robs [Tue, 19 Jun 2001 16:04:16 +0000]
Add the examples

23 years agono message
robs [Tue, 19 Jun 2001 16:01:45 +0000]
no message

23 years agono message
robs [Tue, 19 Jun 2001 15:47:39 +0000]
no message

23 years agotiny-authorizer renamed authorizer
robs [Tue, 19 Jun 2001 15:30:02 +0000]
tiny-authorizer renamed authorizer

23 years agoThese are clutter and with the "self-start" feature somewhat obsolete. The examples...
robs [Tue, 19 Jun 2001 15:19:41 +0000]
These are clutter and with the "self-start" feature somewhat obsolete.  The examples should be documented instead in the cgi-fcgi docs.

23 years agoRename echo2 -> echo-x
robs [Tue, 19 Jun 2001 15:06:16 +0000]
Rename echo2 -> echo-x

23 years agoThese don't serve any purpose. The echo examples are sufficient.
robs [Tue, 19 Jun 2001 14:57:50 +0000]
These don't serve any purpose.  The echo examples are sufficient.

23 years agono message
robs [Tue, 19 Jun 2001 12:50:10 +0000]
no message

23 years agoAdd WIN32_LEAN_AND_MEAN to WIN defines
robs [Mon, 18 Jun 2001 14:44:37 +0000]
Add WIN32_LEAN_AND_MEAN  to WIN defines

23 years agoRemove references in the comments to fcgio2.h.
robs [Mon, 18 Jun 2001 14:40:01 +0000]
Remove references in the comments to fcgio2.h.

Properly import the FCGX routines.

Change the fcgi_streambuf::buffer is initialized to a more compiler friendly format.

23 years agoAdd windows.h to pickup GetLastError, etc.
robs [Mon, 18 Jun 2001 14:28:01 +0000]
Add windows.h to pickup GetLastError, etc.

23 years agoRemove a bunch of includes that don't belong here.
robs [Mon, 18 Jun 2001 14:25:47 +0000]
Remove a bunch of includes that don't belong here.

23 years agoNeed <limits.h>
robs [Mon, 18 Jun 2001 14:25:09 +0000]
Need <limits.h>

23 years agoRemove FALSE/TRUE defines - they're picked up in fcgimisc.h if needed.
robs [Mon, 18 Jun 2001 14:24:28 +0000]
Remove FALSE/TRUE defines - they're picked up in fcgimisc.h if needed.

23 years agoHeader file juggling.
robs [Mon, 18 Jun 2001 14:15:51 +0000]
Header file juggling.

23 years agoRemove unneeded include of <io.h>
robs [Mon, 18 Jun 2001 14:10:30 +0000]
Remove unneeded include of <io.h>

23 years agoallow pecification of purity on command line
skimo [Fri, 8 Jun 2001 15:09:47 +0000]
allow pecification of purity on command line

23 years agofix length calculation in pure perl version
skimo [Thu, 7 Jun 2001 13:17:56 +0000]
fix length calculation in pure perl version

23 years agoTry and find an open slot in the fdTable if the fd is >WIN32_OPEN_MAX. Suggested...
robs [Wed, 6 Jun 2001 16:03:41 +0000]
Try and find an open slot in the fdTable if the fd is >WIN32_OPEN_MAX.  Suggested by Eric Sit [esit@MIT.EDU]

23 years agowork around problem in earlier MakeMakers
skimo [Tue, 5 Jun 2001 15:52:42 +0000]
work around problem in earlier MakeMakers

23 years agoCheck for NULL args. Eric Sit [esit@MIT.EDU]
robs [Sun, 3 Jun 2001 21:46:43 +0000]
Check for NULL args.  Eric Sit [esit@MIT.EDU]

23 years agoMinor cleanup (more needed).
robs [Mon, 14 May 2001 12:58:16 +0000]
Minor cleanup (more needed).

Fix some broken links.

23 years agoFix some broken links.
robs [Mon, 14 May 2001 12:56:56 +0000]
Fix some broken links.

23 years agoattempt at better explaining OpenSocket
skimo [Mon, 30 Apr 2001 15:35:18 +0000]
attempt at better explaining OpenSocket

23 years agobind to non-INADDR_ANY for TCP/IP
skimo [Mon, 30 Apr 2001 15:00:50 +0000]
bind to non-INADDR_ANY for TCP/IP
("James E Jurach Jr." <muaddib@fundsxpress.com>)

23 years agoClean up and remove some useless code.
robs [Sat, 31 Mar 2001 01:46:32 +0000]
Clean up and remove some useless code.

23 years agoProtect write access to the fdTable. Wolfgang Meisl [meisl@brainlab.com]
robs [Fri, 30 Mar 2001 16:49:22 +0000]
Protect write access to the fdTable.  Wolfgang Meisl [meisl@brainlab.com]

23 years agoDon't try to compile anything on pure perl build
skimo [Wed, 28 Mar 2001 15:49:20 +0000]
Don't try to compile anything on pure perl build

23 years agoRemove page breaks.
robs [Tue, 27 Mar 2001 14:03:20 +0000]
Remove page breaks.

23 years agono message
robs [Tue, 27 Mar 2001 13:21:26 +0000]
no message

23 years agoClear errno before calling getpeername() to determine if the app is running as a...
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.

23 years agoadd BINMODE method and comment on socket perms
skimo [Tue, 27 Mar 2001 11:49:11 +0000]
add BINMODE method and comment on socket perms

23 years agoCleaned up OS_CreateLocalIpcFd() and OS_FcgiConnect().
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).

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

24 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

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

24 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

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

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

24 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

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

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

24 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

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

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

24 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>.

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

24 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

24 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