NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/48810



The following reply was made to PR bin/48810; it has been noted by GNATS.

From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: prlw1%cam.ac.uk@localhost
Subject: Re: bin/48810
Date: Mon, 30 Jun 2014 23:26:04 +0100

 In some sense this fixes it for me with HTTP/0.9 in that we get the output
 of the script rather than the source:
 
    $ telnet localhost 80
    Trying ::1...
    telnet: connect to address ::1: Connection refused
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    GET / HTTP/0.9
    HTTP/0.9 200 OK
    Content-Type: text/plain
 
    Hello
    Connection closed by foreign host.
 
 However with HTTP/1.0 (and 1.1), the connection hangs:
 
    $ telnet localhost 80
    Trying ::1...
    telnet: connect to address ::1: Connection refused
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    GET / HTTP/1.0
    HTTP/1.1 408 Request Timeout
    Content-Type: text/html
    Content-Length: 0
    Server: bozohttpd/20140516
 
    Connection closed by foreign host.
 


Home | Main Index | Thread Index | Old Index