RFR: 8303509: Socket setTrafficClass does not work for IPv4 connections when IPv6 enabled
JackyWoo
duke at openjdk.org
Wed Mar 8 06:40:14 UTC 2023
On Mon, 6 Mar 2023 15:49:16 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> This pr try to fix [JDK-8303509](https://bugs.openjdk.org/browse/JDK-8303509): Socket setTrafficClass does not work for IPv4 connections when IPv6 enabled.
>>
>> ### Change Log
>> When setting traffic class with IPv6 enabled, also set to IPv4 family.
>
> [PR 12872](https://github.com/openjdk/jdk/pull/12872) is already under review for this issue.
@AlanBateman I encountered the problem in my production environment, so I reported the bug.
Thanks for your fix. And I will close my PR.
-------------
PR: https://git.openjdk.org/jdk/pull/12852
More information about the nio-dev
mailing list