Code Monkey home page Code Monkey logo

Comments (4)

dorlaor avatar dorlaor commented on June 3, 2024

In terms of priority it shouldn't be urgent. We first need to make sure
memcache is awesome

On Wed, Oct 29, 2014 at 10:11 AM, nyh [email protected] wrote:

If you do

telnet www.google.com 80
GET /

You'll immediately be sent the response. This is the trivial HTTP 0.9
protocol, where the HTTP/.. version isn't specified on the GET line, and
the server does not wait for any headers in the request, beyond the URL.

Unfortunately Seastar's httpd does not handle this case correctly, and
seems to just hang after getting the "GET /" line. Not even another input
line, even an empty line suggesting the end of headers, appear to finish
this hang.

β€”
Reply to this email directly or view it on GitHub
#6.

from seastar.

avikivity avatar avikivity commented on June 3, 2024

Fixed by b0b36c2

from seastar.

nyh avatar nyh commented on June 3, 2024

Avi, unfortunately, this bug is not fixed (the different issue, #3, is fixed).
As I explained above, if you do

telnet 192.168.122.2 10000
GET /

What you'll see is nothing. What you should see, is the response, immediately. Without even waiting for another newline (HTTP 0.9 did not have request headers).

This is not an urgent bug - usually HTTP 0.9 will only be used in debugging sessions, not by real-life browsers - and our httpd isn't mission critical - but it is nevertheless still a bug, and should not be closed. Avi, can you please reopen it? I don't have the permissions, apparently :-(

from seastar.

nyh avatar nyh commented on June 3, 2024

I verified that this problem still exists today. It's still as non-interesting as it was (no real browser will use HTTP 0.9 - note that HTTP 1.0 is already 21 years old), but still a bug πŸ˜‰

from seastar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.