FW: Server Implementation ONLY - what to exclude from the Common Lib?
To: "'email@example.com'" <firstname.lastname@example.org>
Subject: FW: Server Implementation ONLY - what to exclude from the Common Lib?
From: Vu Nguyen <email@example.com>
Date: Thu, 25 Jan 1996 14:06:05 -0500
From firstname.lastname@example.org Thu Jan 25 14: 01:27 1996
X-Info: ISDN Technology Leaders
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 "http://188.8.131.52:8080/complete_path/filename" ; however, trying to fetch the dirrectory caused the server to dump core??? Using the same request ("http://184.108.40.206:8080/complete_path/filename"), 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
Find Parent. 8086250 with hash 67 and address `file:/usr/users/integration.old/html/WWW/MiniServ/i86pc-sol2/Makefile' created
Segmentation Fault (core dumped)
From: Henrik Frystyk Nielsen[SMTP:email@example.com]
Sent: Thursday, January 25, 1996 1:37 PM
To: Vu Nguyen
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, <firstname.lastname@example.org>
World-Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA