Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

many tests are wrong, since use multiple HTTP/1.0 answers without keep-alive #127

Open
socketpair opened this issue Jan 25, 2016 · 0 comments

Comments

@socketpair
Copy link

It seems many tests are wrong, since use multiple HTTP/1.0 answers without connection: keep-alive

AFAIK, if request was HTTP/1.1 (as in many tests)

  1. HTTP/1.1-aware server should answer with HTTP/1.1 response
  2. not HTTP/1.1-aware(i.e. HTTP/1.0 only) server MUST close connection after serving response
  3. RFC does not document HTTP/1.0 + Connection: keep-alive, but we should consider that HTTP/1.0 server supports Connection: keep-alive.

So, after that, these tests should be changed to use HTTP/1.1 for responses.

I can create PR after approving that.

@socketpair socketpair changed the title seems many tests are wrong, since use multiple HTTP/1.0 answers without connection: keep-alive many tests are wrong, since use multiple HTTP/1.0 answers without keep-alive Jan 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant