W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1996

Libwww Ver 4.0C - HTTPServ.c - func ParseRequest (HTStream * me)

From: Vu Nguyen <vu@isdnsys.com>
Date: Sat, 27 Jan 1996 23:57:39 -0500
Message-Id: <01BAED13.4D182720@vun.isdnsys.com>
To: "'www-lib@w3.org'" <www-lib@w3.org>
I've exprienced some problems with libwww Ver 4.0C,

in the HTTPServ.c - func ParseRequest (HTStream * me), the call to 
	HTTPResponse_new(newreq, HTBufWriter_new(newreq->net, YES, 512));
with newreq->net being NULL.  This is set in 
	HTRequest * newreq = me->http->serve = HTRequest_dup(request);

I tried copying the the net object with HTRequest_setNet(newreq, HTRequest_net(request)), this seemed to fix the problem; however, my server stopped serving the request right after the following trace:

HTAnchor_findAddress...
HTSimplify.. `file:/usr/users/integration.old/html/WWW/MiniServ/i86pc-sol2/test.html' into
............ `file:/usr/users/integration.old/html/WWW/MiniServ/i86pc-sol2/test.html'
Find Parent. 80865a0 with hash 74 and address `file:/usr/users/integration.old/html/WWW/MiniServ/i86pc-sol2/test.html' created
Buffer...... Created with size 512
StreamStack. Constructing stream stack for message/rfc822 to */*
MIMEParser.. Persistent Connection
MIMEParser.. Unknown `User-Agent: Mozilla/2.0b6a (Win95; I)'
Parsing unknown header `User-Agent: Mozilla/2.0b6a (Win95; I)'
MIMEParser.. Unknown `Host: 206.84.220.43:8081'
Parsing unknown header `Host: 206.84.220.43:8081'

It looked as if somehow the the newreq->net object is not registered!

What is being done so different from the previous release that I'm not aware of?  what is the purpose of
making an Internal copy of the request?

TIA,

Vu Nguyen
Received on Saturday, 27 January 1996 23:52:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:26 GMT