W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 2001

Re: disconnection of the web server

From: Yves Lafon <ylafon@w3.org>
Date: Thu, 2 Aug 2001 16:19:53 +0200 (MET DST)
To: Judith NATAF <jnataf@telisma.com>
cc: <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.33.0108021611560.8976-100000@tarantula.inria.fr>
On Thu, 2 Aug 2001, Judith NATAF wrote:

> While sending a request to a Jigsaw web server :
>
> 	GET http://local_machine/myFile.html HTTP/1.0
> 	Accept: */*
>
> Without using a proxy, I receive no data.
> The connection and the data sending is ok, but,
>
> l_nbRecv = recv(desc, data, len, opt);
>
> returns 0 (as if the web server has diconnected the connection)
>
> Is there something to add in the request ?
> Do I need to keep the connection persistent ?

What version of Jigsaw are you using? There was a problem with earlier
version of Jigsaw when the Host header was not present, I just tested on a
Jigsaw 2.2.0 and everyting is fine:
telnet tarantula 8007
Trying 138.96.10.3...
Connected to tarantula.inria.fr.
Escape character is '^]'.
GET http://tarantula.inria.fr:8007/GeneralStats HTTP/1.0
Accept: */*

HTTP/1.1 200 OK
Cache-Control: no-cache
Connection: keep-alive,close
Date: Thu, 02 Aug 2001 14:12:51 GMT
Content-Length: 1341
Content-Type: text/html
Server: Jigsaw/2.2.0

-- 
Yves Lafon - W3C
"Baroula que barouleras, au tiéu toujou t'entourneras."
Received on Thursday, 2 August 2001 10:19:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:35 GMT