CVS log for: defines.h

Revision 1.13 - roper - November 07, 2003 at 18:50:08
Branches: TRUNK
Diff to: 1.12, 1.11, 1.10, 1.9, 1.8, 1.7, 1.6, 1.5, 1.4, 1.3
Keep-alive actually works now.  Major request parsing cleanup.

Revision 1.12 - roper - October 28, 2003 at 21:06:06
Branches: TRUNK
Buffering code can now return complete lines of a request.  When this
is used in request.c, the code will get a lot cleaner.

Revision 1.11 - roper - October 28, 2003 at 17:33:23
Branches: TRUNK
Lots of changes:
 * Use either buffering code taken from Apache or TCP_CORK to minimize
   network traffic.
 * Sockets are now properly 'half-closed' before being truly closed
 * Make 503 responses a compile time option
 * Make HTTP PUT a compile time option
 * Added -b command line switch to change server's accept backlog
 * Lots of code cleanup
 * More statistics kept for verbose (-v) output

Revision 1.10 - roper - October 03, 2003 at 00:44:01
Branches: TRUNK
 - Allow number of concurrently responding threads to be limited
 - Add support for sendfile() as a response mechanism (should still
   wrap this in non-blocking I/O... i.e., write our own pth_sendfile()

Revision 1.9 - roper - September 22, 2003 at 23:52:56
Branches: TRUNK
- pth_writev() is used to combine headers with body instead of issuing
  multiple pth_write()'s; this should be faster because it results in
  fewer internal copies of the data
- filename(s) of index files can be set in cow.conf now
- added ability to limit response concurrency

Revision 1.8 - roper - August 15, 2003 at 17:53:37
Branches: TRUNK
- fixed critical bug that caused only the first part (probably about 256K)
  of a file to actually be returned to the user
- CoW was using a pool of pmsg structures for communication between the
  main thread and the depot, but was malloc'ing messages sent from the
  depot to the handlers; messages are now forwarded to handlers instead of
  copied so we avoid the malloc overhead
- CoW now re-uses server socket so we don't have to wait a couple minutes
  after shutdown before restarting (avoids "Address in use" messages)

Revision 1.7 - roper - August 13, 2003 at 01:40:11
Branches: TRUNK
Properly handles EAGAIN on non-blocking IO; we'll now actually send the
entire file instead of just the first chunk.  Also fixed some keep-alive
related bugginess.  Keep alive still doesn't work, but we're a small
step closer.

Revision 1.6 - roper - July 24, 2003 at 17:45:47
Branches: TRUNK
 * Added mime options to config file
 * Removed some unused constants
 * A little bit of error logging
 * Better detection of OS file descriptor limits

Revision 1.5 - roper - July 21, 2003 at 20:00:23
Branches: TRUNK
Added configuration file support.  Also updated the build system some more.
Although the config file support is in place, not all of its options are
completely supported yet.

Revision 1.4 - roper - July 11, 2003 at 20:20:37
Branches: TRUNK
Don't print status messages when we're trying to benchmark.  Also change
gcc's C standard to C99 with GNU extensions (i.e. allow stuff like C++
style comments that Takashi uses a lot of).

Revision 1.3 - roper - July 10, 2003 at 20:12:20
Branches: TRUNK
Fixed major depot loop bug that caused CoW to crash on the first request.
Also added lots of comments to the depot and made some more reformatting
changes.

Revision 1.2 - roper - July 03, 2003 at 22:25:03
Branches: TRUNK
Updated build system (use autoconf for Pth detection) and fixed a
compile error (macro redefinition).  CoW now builds but crashes on the
first request.

Revision 1.1.1.1 - roper - July 03, 2003 at 21:14:41
Branches: TRUNK
Initial import of Takashi's CoW code (version 0.3.2).

Revision 1.1 - roper - July 03, 2003 at 21:14:41
Branches: 1.1.1.1
Initial revision