Skip to content

Conversation

@joshcooper
Copy link
Contributor

@joshcooper joshcooper commented Feb 11, 2020

Stub the "Net::HTTP#started?" method so finish happens as expected. Protect
against Net::HTTP#finish being called twice, and ensure the "Closing connection"
debug message is printed after the redirect, since Pool#close_connection will be
a noop.

@joshcooper joshcooper requested review from a team February 11, 2020 19:27
Stub the "Net::HTTP#started?" method so finish happens as expected. Protect
against Net::HTTP#finish being called twice, and ensure the "Closing connection"
debug message is printed after the redirect, since Pool#close_connection will be
a noop.
@melissa melissa merged commit 2643a74 into puppetlabs:5.5.x Feb 11, 2020
@joshcooper joshcooper deleted the stub_finish branch February 11, 2020 21:01
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