Skip to content

Refactor Net::HTTP#connect - #172

Open
stanhu wants to merge 1 commit into
ruby:masterfrom
stanhu:sh-refactor-connect
Open

Refactor Net::HTTP#connect#172
stanhu wants to merge 1 commit into
ruby:masterfrom
stanhu:sh-refactor-connect

Conversation

@stanhu

Copy link
Copy Markdown

The method was getting large, and in preparation for #141, I thought it would be easier to break up the method into several other methods.

@stanhu
stanhuforce-pushed the sh-refactor-connect branch from 0061a7c to ad76b37CompareJanuary 10, 2024 00:17
@stanhu
stanhu marked this pull request as draft January 10, 2024 00:18
Comment threadlib/net/http.rb
@stanhu
stanhuforce-pushed the sh-refactor-connect branch from ad76b37 to 0c0da29CompareJanuary 10, 2024 06:00
The method was getting large, and in preparation for ruby#141, I thought
it would be easier to break up the method into several other methods.
@stanhu
stanhuforce-pushed the sh-refactor-connect branch from 0c0da29 to 4fc12dbCompareJanuary 10, 2024 06:07
@stanhu
stanhu marked this pull request as ready for review January 10, 2024 06:08
@stanhu

Copy link
Copy Markdown
Author

https://github.com/ruby/net-http/pull/147/files seems to have a similar refactoring.

@stanhu

Copy link
Copy Markdown
Author

@nurse What do you think about this change?

@stanhu

Copy link
Copy Markdown
Author

@nurse Could you review this?

@xlgmokha

Copy link
Copy Markdown

@hsbt, @nurse do you have time to review this change? This is related to a DNS rebinding issue that we are experiencing on gitlab.com that we are working to resolve. 🙏

Sign up for freeto 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

@stanhu@xlgmokha