Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In Logstash 5.x and below, JRuby 1.7.x is used, and UDPSocket.new(Socket::AF_INET) somehow accidentally works with IPv6. Logstash 6.x uses JRuby 9.x where this now behaves correctly (AF_INET is ipv4 only), but triggers a bug where ipv6 was accidentally disabled in the udp input. Oops! This change is small and adds tests to cover the default scenario that 127.0.0.1 and ::1 both work for the default.
- Loading branch information
1 parent
1532175
commit 4aaef31
Showing
3 changed files
with
43 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters