Skip to content

Commit a5e6cbf

Browse files
authored
gem: use latest net-http to solve IPv6 addr error (#5162)
**Which issue(s) this PR fixes**: Fixes #5141 **What this PR does / why we need it**: `net-http` had a bug in handling IPv6 addresses, and updating the `uri` would trigger strict checking, causing errors. This PR will use `net-http` that has the bug fixed. **Docs Changes**: N/A **Release Note**: gem: use latest net-http to solve IPv6 addr error Signed-off-by: Shizuo Fujita <[email protected]>
1 parent 7ba2227 commit a5e6cbf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

fluentd.gemspec

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ Gem::Specification.new do |gem|
3939
gem.add_runtime_dependency("strptime", [">= 0.2.4", "< 1.0.0"])
4040
gem.add_runtime_dependency("webrick", ["~> 1.4"])
4141
gem.add_runtime_dependency("zstd-ruby", ["~> 1.5"])
42-
# uri v1.1.0 breaks the tests using IPv6 addresses.
43-
# https://github.com/fluent/fluentd/issues/5141
44-
gem.add_runtime_dependency("uri", ['~> 1.0', "< 1.1.0"])
42+
gem.add_runtime_dependency("uri", '~> 1.0')
43+
gem.add_runtime_dependency("net-http", '~> 0.8')
4544
gem.add_runtime_dependency("async-http", "~> 0.86")
4645

4746
# gems that aren't default gems as of Ruby 3.4

0 commit comments

Comments
 (0)