Re: disconnection of the web server

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 UTC