W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

HTTP 1.1/1.0?

From: Shing Kwong Cheung <skcheung@aucoasia.com>
Date: Sun, 4 Jul 1999 22:59:56 -0400 (EDT)
To: www-lib@w3.org
Message-ID: <C82567A5.0008F182.00@aa_nt_server.aucoasia.com>

Dear all,

I found that when I use libwww to download a web page from some particular
web site, something
like the following happened (not happend everytime, but on occasion):

> Write Socket got EPIPE
> Error....... Add  73	Severity: 1	Parameter: `Error number not
translated!'   Where: `NETWRIT
> E'
> Host recover 0x10b2804 recovered 1 times. Moving 21 Net objects from pipe
 line to pending
> queue
> Event....... No more events registered for socket 10
> Event....... Socket 10 unregistered for HTEvent_READ
> Event....... Couldn't find socket 10. Can't unregister type HTEvent_WRITE
> Host recover Resetting net object 0x100c890
> HTTP Clean.. Called with status -904, net 0x100c890
> HTTPGen..... ABORTING...
> HTTPRequest. ABORTING...
> Buffer...... ABORTING...
> FileWriter.. ABORTING...
> Host recover Resetting net object 0x100ce2c
But when I called the following function before, the problem seems gone.

  HTTP_setConnectionMode(HTTP_10);

Does it mean that if I do not call this function, libwww can only support
HTTP 1.1 server (or partially
support 1.0 server)?  Can I configure it such that it can auto-select HTTP
1.1/1.0?


More detail log (partial) are as follow:

........
Write Socket 161 bytes written to 10
Start <BR>
Unknown attribute onmouseover for tag A
Attribute value self.status='Apple Daily Back Issues' ; return true ignored
Unknown attribute target for tag A
Attribute value _top ignored
Start <A>
Start <IMG>
Child Anchor New Anchor 0xff30b0 named `' is child of 0x190074c
HTSimplify.. `http://hk01.www.appledaily.com.hk/home/img/hm_bckIsueBtn.gif'
 into
............ `http://hk01.www.appledaily.com.hk/home/img/hm_bckIsueBtn.gif'
Find Parent. 0x1874450 with address
`http://hk01.www.appledaily.com.hk/home/img/hm_bckIsue
Btn.gif' already exists.
Link create. from anchor 0xff30b0 to 0x1874450 with type NONE, method NONE
Load image:
http://hk01.www.appledaily.com.hk/home/img/hm_bckIsueBtn.gifRequest.....
Creat
ed 0xff2ebc
ChunkStream. Chunk 0xff2cd4 created with max size 0
HTSimplify.. `http://hk01.www.appledaily.com.hk/home/img/hm_bckIsueBtn.gif'
 into
............ `http://hk01.www.appledaily.com.hk/home/img/hm_bckIsueBtn.gif'
Find Parent. 0x1874450 with address
`http://hk01.www.appledaily.com.hk/home/img/hm_bckIsue
Btn.gif' already exists.
HTAccess.... Accessing document
http://hk01.www.appledaily.com.hk/home/img/hm_bckIsueBtn.g
if
Net Before.. calling 0x1d47640 (request 0xff2ebc, context 0x0)
Check rules. for
`http://hk01.www.appledaily.com.hk/home/img/hm_bckIsueBtn.gif'
Net Before.. calling 0x1d47cd4 (request 0xff2ebc, context 0x0)
Auth Engine. Looking up
`http://hk01.www.appledaily.com.hk/home/img/hm_bckIsueBtn.gif'
URL Tree.... did NOT find `w3c-AA'
Auth Engine. No information
Credentials. verified
Net Before.. calling 0x1d59664 (request 0xff2ebc, context 0x0)
PEP Engine.. Looking for info on
`http://hk01.www.appledaily.com.hk/home/img/hm_bckIsueBtn
.gif'
URL Tree.... did NOT find `w3c-pep'
PEP Engine.. No information
Net Before.. calling 0x1d47570 (request 0xff2ebc, context 0x0)
Net Object.. 0xff2be8 created with hash 70
Net Object.. starting request 0xff2ebc (retry=1) with net object 0xff2be8
HTTP........ Looking for
`http://hk01.www.appledaily.com.hk/home/img/hm_bckIsueBtn.gif'
HTHost parse Looking up `hk01.www.appledaily.com.hk' on port 80
Host info... REUSING CHANNEL 0x120f874
Host info... Added Net 0xff2be8 (request 0xff2ebc) to pipe on Host
0x10b2804, 20 requests
made, 19 requests in pipe, 0 pending
HTHost...... No ActivateRequest callback handler registered
Channel..... Semaphore increased to 19 for channel 0x120f874
Host connect Unlocking Host 0x10b2804
StreamStack. Constructing stream stack for text/x-http to */*
Tee......... Created stream 0xff2b1c with resolver 0x1d65ec8
HTTP........ Dumping response to `w3chttp.out'
Tee......... Created stream 0xff2af0 with resolver 0x1d65ec8
HTTP........ Dumping request to `w3chttp.out'
HTTP........ Generating HTTP/1.x Request Headers
HTTP........ Generating General Headers
Buffer...... Flushing 0x12d4d10
Write Socket 168 bytes written to 10
End   </A>
Start <BR>
Start <IMG>
Child Anchor New Anchor 0xff29c4 named `' is child of 0x190074c
HTSimplify.. `http://hk01.www.appledaily.com.hk/home/img/spacer.gif' into
............ `http://hk01.www.appledaily.com.hk/home/img/spacer.gif'
Find Parent. 0x18e7880 with address
`http://hk01.www.appledaily.com.hk/home/img/spacer.gif
' already exists.
Link create. from anchor 0xff29c4 to 0x18e7880 with type NONE, method NONE
Load image:
http://hk01.www.appledaily.com.hk/home/img/spacer.gifRequest..... Created
0xff
27f0
ChunkStream. Chunk 0xff294c created with max size 0
HTSimplify.. `http://hk01.www.appledaily.com.hk/home/img/spacer.gif' into
............ `http://hk01.www.appledaily.com.hk/home/img/spacer.gif'
Find Parent. 0x18e7880 with address
`http://hk01.www.appledaily.com.hk/home/img/spacer.gif
' already exists.
HTAccess.... Accessing document
http://hk01.www.appledaily.com.hk/home/img/spacer.gif
Net Before.. calling 0x1d47640 (request 0xff27f0, context 0x0)
Check rules. for `http://hk01.www.appledaily.com.hk/home/img/spacer.gif'
Net Before.. calling 0x1d47cd4 (request 0xff27f0, context 0x0)
Auth Engine. Looking up
`http://hk01.www.appledaily.com.hk/home/img/spacer.gif'
URL Tree.... did NOT find `w3c-AA'
Auth Engine. No information
Credentials. verified
Net Before.. calling 0x1d59664 (request 0xff27f0, context 0x0)
PEP Engine.. Looking for info on
`http://hk01.www.appledaily.com.hk/home/img/spacer.gif'
URL Tree.... did NOT find `w3c-pep'
PEP Engine.. No information
Net Before.. calling 0x1d47570 (request 0xff27f0, context 0x0)
Net Object.. 0x100ce2c created with hash 71
Net Object.. starting request 0xff27f0 (retry=1) with net object 0x100ce2c
HTTP........ Looking for
`http://hk01.www.appledaily.com.hk/home/img/spacer.gif'
HTHost parse Looking up `hk01.www.appledaily.com.hk' on port 80
Host info... REUSING CHANNEL 0x120f874
Host info... Added Net 0x100ce2c (request 0xff27f0) to pipe on Host
0x10b2804, 21 requests
 made, 20 requests in pipe, 0 pending
HTHost...... No ActivateRequest callback handler registered
Channel..... Semaphore increased to 20 for channel 0x120f874
Host connect Unlocking Host 0x10b2804
StreamStack. Constructing stream stack for text/x-http to */*
Tee......... Created stream 0xff27c4 with resolver 0x1d65ec8
HTTP........ Dumping response to `w3chttp.out'
Tee......... Created stream 0x100cd24 with resolver 0x1d65ec8
HTTP........ Dumping request to `w3chttp.out'
HTTP........ Generating HTTP/1.x Request Headers
HTTP........ Generating General Headers
Buffer...... Flushing 0x12d4d10
Write Socket 161 bytes written to 10
Start <BR>
Unknown attribute onmouseover for tag A
Attribute value self.status='email Webmaster' ; return true ignored
Unknown attribute target for tag A
Attribute value _top ignored
Start <A>
Start <IMG>
Child Anchor New Anchor 0x100cc24 named `' is child of 0x190074c
HTSimplify.. `http://hk01.www.appledaily.com.hk/home/img/hm_cmmtBtn.gif'
into
............ `http://hk01.www.appledaily.com.hk/home/img/hm_cmmtBtn.gif'
Find Parent. 0x1873984 with address
`http://hk01.www.appledaily.com.hk/home/img/hm_cmmtBtn
.gif' already exists.
Link create. from anchor 0x100cc24 to 0x1873984 with type NONE, method NONE
Load image:
http://hk01.www.appledaily.com.hk/home/img/hm_cmmtBtn.gifRequest.....
Created
0x100caf8
ChunkStream. Chunk 0xff3db8 created with max size 0
HTSimplify.. `http://hk01.www.appledaily.com.hk/home/img/hm_cmmtBtn.gif'
into
............ `http://hk01.www.appledaily.com.hk/home/img/hm_cmmtBtn.gif'
Find Parent. 0x1873984 with address
`http://hk01.www.appledaily.com.hk/home/img/hm_cmmtBtn
.gif' already exists.
HTAccess.... Accessing document
http://hk01.www.appledaily.com.hk/home/img/hm_cmmtBtn.gif
Net Before.. calling 0x1d47640 (request 0x100caf8, context 0x0)
Check rules. for
`http://hk01.www.appledaily.com.hk/home/img/hm_cmmtBtn.gif'
Net Before.. calling 0x1d47cd4 (request 0x100caf8, context 0x0)
Auth Engine. Looking up
`http://hk01.www.appledaily.com.hk/home/img/hm_cmmtBtn.gif'
URL Tree.... did NOT find `w3c-AA'
Auth Engine. No information
Credentials. verified
Net Before.. calling 0x1d59664 (request 0x100caf8, context 0x0)
PEP Engine.. Looking for info on
`http://hk01.www.appledaily.com.hk/home/img/hm_cmmtBtn.gi
f'
URL Tree.... did NOT find `w3c-pep'
PEP Engine.. No information
Net Before.. calling 0x1d47570 (request 0x100caf8, context 0x0)
Net Object.. 0x100c890 created with hash 72
Net Object.. starting request 0x100caf8 (retry=1) with net object 0x100c890
HTTP........ Looking for
`http://hk01.www.appledaily.com.hk/home/img/hm_cmmtBtn.gif'
HTHost parse Looking up `hk01.www.appledaily.com.hk' on port 80
Host info... REUSING CHANNEL 0x120f874
Host info... Added Net 0x100c890 (request 0x100caf8) to pipe on Host
0x10b2804, 22 request
s made, 21 requests in pipe, 0 pending
HTHost...... No ActivateRequest callback handler registered
Channel..... Semaphore increased to 21 for channel 0x120f874
Host connect Unlocking Host 0x10b2804
StreamStack. Constructing stream stack for text/x-http to */*
Tee......... Created stream 0x100c7b0 with resolver 0x1d65ec8
HTTP........ Dumping response to `w3chttp.out'
Tee......... Created stream 0x100c798 with resolver 0x1d65ec8
HTTP........ Dumping request to `w3chttp.out'
HTTP........ Generating HTTP/1.x Request Headers
HTTP........ Generating General Headers
Buffer...... Flushing 0x12d4d10
Write Socket got EPIPE
Error....... Add  73	Severity: 1	Parameter: `Error number not translated!'
Where: `NETWRIT
E'
Host recover 0x10b2804 recovered 1 times. Moving 21 Net objects from pipe
line to pending
queue
Event....... No more events registered for socket 10
Event....... Socket 10 unregistered for HTEvent_READ
Event....... Couldn't find socket 10. Can't unregister type HTEvent_WRITE
Host recover Resetting net object 0x100c890
HTTP Clean.. Called with status -904, net 0x100c890
HTTPGen..... ABORTING...
HTTPRequest. ABORTING...
Buffer...... ABORTING...
FileWriter.. ABORTING...
Host recover Resetting net object 0x100ce2c
HTTP Clean.. Called with status -904, net 0x100ce2c
HTTPGen..... ABORTING...
HTTPRequest. ABORTING...
Buffer...... ABORTING...
FileWriter.. ABORTING...
Host recover Resetting net object 0xff2be8
HTTP Clean.. Called with status -904, net 0xff2be8
HTTPGen..... ABORTING...
HTTPRequest. ABORTING...
Buffer...... ABORTING...
FileWriter.. ABORTING...
Host recover Resetting net object 0xff34e4
HTTP Clean.. Called with status -904, net 0xff34e4
HTTPGen..... ABORTING...
HTTPRequest. ABORTING...
Buffer...... ABORTING...
FileWriter.. ABORTING...
Host recover Resetting net object 0xff3b20
HTTP Clean.. Called with status -904, net 0xff3b20
HTTPGen..... ABORTING...
HTTPRequest. ABORTING...
Buffer...... ABORTING...
FileWriter.. ABORTING...
Host recover Resetting net object 0xff4350
HTTP Clean.. Called with status -904, net 0xff4350
HTTPGen..... ABORTING...
HTTPRequest. ABORTING...
Buffer...... ABORTING...
Received on Monday, 5 July 1999 03:34:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:16 UTC