Skip to content

support keep-alive for http 1.0#323

Closed
eleddy wants to merge 0 commit intoaio-libs:masterfrom
eleddy:master
Closed

support keep-alive for http 1.0#323
eleddy wants to merge 0 commit intoaio-libs:masterfrom
eleddy:master

Conversation

@eleddy
Copy link
Contributor

@eleddy eleddy commented Apr 14, 2015

keep alive is on by default for http 1.1 and off
by default for http 1.0. parse connection headers
for 1.0 and obey

@asvetlov
Copy link
Member

HTTP protocols less than 1.0 (read 0.9) don't support keep alives at all, only 1.0 does.

@fafhrd91
Copy link
Member

i do not think 0.9 is the problem at all :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use hdrs.CONNECTION

@asvetlov
Copy link
Member

Sure, 0.9 is very rare now but disabling keepalive for protocol versions <
1.0 is very trivial. Why don't support that?

On Tue, Apr 14, 2015 at 10:49 AM, Nikolay Kim notifications@github.com
wrote:

i do not think 0.9 is the problem at all :)


Reply to this email directly or view it on GitHub
#323 (comment).

Thanks,
Andrew Svetlov

@eleddy
Copy link
Contributor Author

eleddy commented Apr 14, 2015

sorry, reopened as #325 since I was pulling from the wrong branch

@lock
Copy link

lock bot commented Oct 30, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 30, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants