-
Notifications
You must be signed in to change notification settings - Fork 75
Comparing changes
Open a pull request
base repository: ruby/net-http
base: v0.5.0
head repository: ruby/net-http
compare: v0.6.0
- 14 commits
- 3 files changed
- 4 contributors
Commits on Nov 14, 2024
-
Allow Net::HTTP#request to raise Net::OpenTimeout (#12062)
with a TCPSoerver that is only listening to avoid AssertionFailedError on Ubuntu. --- The tests such as `TestNetHTTP_v1_2_chunked#test_timeout_during_non_chunked_streamed_HTTP_session_write` expect to raise a `Net::WriteTimeout` due to a failure in writing to the server. However, on Ubuntu environments, the server immediately returns a "Connection Refused" in such cases. The socket created with `TCPSocket.new` that supports HEv2 catches this immediately and raises a `Net::OpenTimeout`. As a result, these tests fail due to raising a different exception than expected. This PR adds `Net::OpenTimeout` asexceptions to avoid these test failures.
Configuration menu - View commit details
-
Copy full SHA for d81eabf - Browse repository at this point
Copy the full SHA d81eabfView commit details
Commits on Nov 15, 2024
-
These constants, isolated in net/http/backward.rb, have not only been deprecated since 2001, but have also had a warning since 2021.
Configuration menu - View commit details
-
Copy full SHA for 265bfa9 - Browse repository at this point
Copy the full SHA 265bfa9View commit details -
Merge pull request #189 from nobu/remove-deprecated-constants
Remove deprecated constants
Configuration menu - View commit details
-
Copy full SHA for 71f8f24 - Browse repository at this point
Copy the full SHA 71f8f24View commit details
Commits on Nov 19, 2024
-
Bump step-security/harden-runner from 2.10.1 to 2.10.2
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.10.1 to 2.10.2. - [Release notes](https://github.com/step-security/harden-runner/releases) - [Commits](step-security/harden-runner@91182cc...0080882) --- updated-dependencies: - dependency-name: step-security/harden-runner dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 9e25c12 - Browse repository at this point
Copy the full SHA 9e25c12View commit details -
Merge pull request #190 from ruby/dependabot/github_actions/step-secu…
…rity/harden-runner-2.10.2 Bump step-security/harden-runner from 2.10.1 to 2.10.2
Configuration menu - View commit details
-
Copy full SHA for 3a83e46 - Browse repository at this point
Copy the full SHA 3a83e46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37f17d2 - Browse repository at this point
Copy the full SHA 37f17d2View commit details -
Merge pull request #191 from ruby/restore-http-session
Restore HTTPSession constant for backward compatibility
Configuration menu - View commit details
-
Copy full SHA for 9949c06 - Browse repository at this point
Copy the full SHA 9949c06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4650f86 - Browse repository at this point
Copy the full SHA 4650f86View commit details -
Merge pull request #192 from ruby/fixup-GH-191
Need to restore under the Net namespace
Configuration menu - View commit details
-
Copy full SHA for d18ab3d - Browse repository at this point
Copy the full SHA d18ab3dView commit details
Commits on Nov 20, 2024
-
Do not wait connection attempt delay without in progress fds (#12087)
Do not wait Connection Attempt Delay without in progress fds Reset Connection Attempt Delay when connection fails and there is no other socket connection in progress. This is intended to resolve an issue that was temporarily worked around in Pull Request #12062. `TCPServer::new` (used in tests such as `TestNetHTTP_v1_2_chunked#test_timeout_during_non_chunked_streamed_HTTP_session_write`) can only connect over either IPv6 or IPv4, depending on the environment. Since HEv2 attempts to connect over IPv6 first, environments where IPv6 connections are unavailable return ECONNREFUSED immediately. In such cases, the client should immediately retry the connection over IPv4. However, HEv2 includes a specification for a "Connection Attempt Delay," where it waits 250ms after the previous connection attempt before starting the next one. This delay causes Net::OpenTimeout (100ms) to be exceeded while waiting for the next connection attempt to start. With this change, when a connection attempt fails, if there are sockets still attempting to connect and there are addresses yet to be tried, the Connection Attempt Delay will be resetted, allowing the next connection attempt to start immediately. --- Additionally, the following minor fixes have been made: - The `nfds` value used for select(2) is now reset with each wait.
Configuration menu - View commit details
-
Copy full SHA for cfbbb50 - Browse repository at this point
Copy the full SHA cfbbb50View commit details
Commits on Nov 25, 2024
-
Bumps [rubygems/release-gem](https://github.com/rubygems/release-gem) from 612653d273a73bdae1df8453e090060bb4db5f31 to 9e85cb11501bebc2ae661c1500176316d3987059. - [Release notes](https://github.com/rubygems/release-gem/releases) - [Commits](rubygems/release-gem@612653d...9e85cb1) --- updated-dependencies: - dependency-name: rubygems/release-gem dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 3e9654f - Browse repository at this point
Copy the full SHA 3e9654fView commit details -
Merge pull request #196 from ruby/dependabot/github_actions/rubygems/…
…release-gem-9e85cb11501bebc2ae661c1500176316d3987059 Bump rubygems/release-gem from 612653d273a73bdae1df8453e090060bb4db5f31 to 9e85cb11501bebc2ae661c1500176316d3987059
Configuration menu - View commit details
-
Copy full SHA for 3c7596b - Browse repository at this point
Copy the full SHA 3c7596bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4adf58c - Browse repository at this point
Copy the full SHA 4adf58cView commit details
Commits on Dec 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6475fa6 - Browse repository at this point
Copy the full SHA 6475fa6View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.5.0...v0.6.0