FW: Server Implementation ONLY - what to exclude from the Common Lib?

I should have been clearer about the memory and platform.  Right now, the development platform is Solaris; however, the final target will be a PPC403GA (power PC based microcontroller with at most 2M of RAM of which I'm allowed to use about ~300K).  Based on the MiniServ code, the code size is over 2M - I don't know how much it is in term of RAM space

BTW, I was able to make the server to send me a file using the libwww.a ver 4.0B - by specifying "" ; however, trying to fetch the dirrectory caused the server to dump core??? Using the same request (""), with the current lib ver 4.0C, the server core dumps after the following:

		[more deleted here]
POSTWeb..... Adding dest 8085f18 to src 8083c78
HTSimplify.. `file:/usr/users/integration.old/html/WWW/MiniServ/i86pc-sol2/Makefile' into
............ `file:/usr/users/integration.old/html/WWW/MiniServ/i86pc-sol2/Makefile'
Find Parent. 8086250 with hash 67 and address `file:/usr/users/integration.old/html/WWW/MiniServ/i86pc-sol2/Makefile' created
Segmentation Fault (core dumped)

Any pointers?

From: 	Henrik Frystyk Nielsen[SMTP:frystyk@w3.org]
Sent: 	Thursday, January 25, 1996 1:37 PM
To: 	Vu Nguyen
Cc: 	'www-lib@w3.org'
Subject: 	Re: Server Implementation ONLY - what to exclude from the Common Lib? 

Vu Nguyen writes:
> Due to limited memory available, I'd like to know what I can exclude from the Libwww in order to implement a Web server

Speaking in terms of DLLs - what you need is the following:

	- wwwutils.dll: The basic programming utilities
	- wwwcore.dll:  The core registry
	- wwwfile.dll:  The local file access module

Then you also need a HTTP server module. This is not yet in place but you can have a look at the HTTPServ.c module which is a first very basic and raw draft of what it might look like.

The wwwutils and wwwcore DLLs must be included in all libwww based applications but the rest can be configured as needed. The total size of the two DLLs is about 160K in a stripped version.


Henrik Frystyk Nielsen, <frystyk@w3.org>
World-Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA