Skip to content

Defer connection until a request is made, and reconnect when necessary#49

Open
luke-jr wants to merge 1 commit intojgarzik:masterfrom
luke-jr:bugfix_reconnect
Open

Defer connection until a request is made, and reconnect when necessary#49
luke-jr wants to merge 1 commit intojgarzik:masterfrom
luke-jr:bugfix_reconnect

Conversation

@luke-jr
Copy link
Contributor

@luke-jr luke-jr commented Apr 3, 2015

Since 02d6ed6, any problem with the connection has been permanently fatal to all future requests.
This solves that with a new SharedConnection class that recreates the internal http.client connection as needed.

Since 02d6ed6, any problem with the connection has been permanently fatal to all future requests.
This solves that with a new SharedConnection class that recreates the internal http.client connection as needed.
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.

1 participant