Main Page   Data Structures   File List   Data Fields   Globals   Related Pages  

Todo List

page PDepp Webserver Programmer's Manual
Both the connection multiplexer and the Connection Handler should be independant of the actual kind of connection used (TCP sockets, unix domain sockets, named FIFOs, etc...) and work only on file descriptors. Maybe an additional abstraction layer for different kinds of communication should be introduced... (eg. renaming the Server Core to "Connection Multiplexer" and creating a new Server module / layer containing the code to establish a "server socket" and accepting new connections.)

Global appendHdrField(BufpList hdr_list, char *prefix, char *data)
use a variadic arguments function

Global logfilesInit()
Split this function into several independant subroutines... ;-)

Store identical format strings only once instead of copying them for every logger.

File mime.c
Allocate and copy mime types only once.

Global sock_recv_set
: put these into a structure (create a server state structure, opaque Server data type)

Global fn(a, b)
: re-think this one, can it be done with only two * nested macros?

Page ToDo List Placeholder
Reduce memory footprint by avoiding unnessessary copying of strings.

Improve speed by reviewing the parts of the program that make heave use of string manipulation functions. The primary focus during development was on stability of the code, now that it is runnign well it can be optimized.

Improve speed by extending ./configure --enable-final so that it first concatenates all *.c files together and then compiled the resulting file with optimizations enabled. Inlining in conjunction with CSE performed by the compiler should eliminate all these trivial list query functions which are unquestioned leader if counting the function calls.

Check to see if we can improve the speed of the logging subsystem by using simple string and file descriptor low level functions instead of fprintf.

make the PDepp Webserver make install -able.

??? make the names and locations of the *.html files containing the client error messages configurable.

consider "chroot" for security reasons!

??? allow placeholders within all data strings defined in the log file (in the logfile-names, etc.)


Generated on Fri Jan 25 22:41:06 2002 for PDepp Webserver by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001