CVS log for: pmsg.h
Revision 1.4 - roper - October 28, 2003 at 17:33:23
Branches: TRUNK
Diff to: 1.3, 1.2, 1.1Lots 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.3 - roper - August 15, 2003 at 17:53:37
Branches: TRUNK
Diff to: 1.2, 1.1- 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.2 - roper - July 16, 2003 at 16:42:28
Branches: TRUNK
Diff to: 1.1Force accept thread to wait if the depot falls behind and has a full message
queue. This prevents the accept thread from reusing pmsg structures before
the depot has processed them (premature reuse of these structures caused the
same message to be placed on the message queue multiple times which caused
all kinds of internal pth problems).
Also fixed a couple compile-time warnings.
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