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

Allow Keep Alives for 201 & 404 Responses. #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomlea
Copy link

@tomlea tomlea commented Mar 25, 2011

Our app (used internally in @reevoo) is posting many (1000/s) small requests over SSL with certificate verification on either side. Connection setups are very expensive, so we use keep alive and connection recycling.

Our service responds with a 201 when a record is posted and a 404 when a get on a missing record happens.

This patch means that only 5xx responses force a connection reset.

I've also added some test coverage.

Let me know what you think.

A 404/201 response does not indicate that the connection is unviable.
@alor
Copy link
Contributor

alor commented Apr 15, 2011

i like to see this merged to master. i was doing the same on my fork...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants