Skip to content

Ciphersuite ordering changes in 4.4.1 due to use of HashMap #6057

@cfolgere

Description

@cfolgere

Version

4.4.1

Context

Hello,

We found an issue in our web server when upgrading to Vert.x 4.4.1. Specifically, we hit some issues with ciphersuites later in our list were being selected over more preferred ECDHE ciphersuites. This issue wasn't there with Vert.x 4.2.6 and it looks like some refactoring changed the ordering in this version.

I added a unit test to show the issue. The linked project changes to a LinkedHashMap and allows the test to pass. Removing it allows the test to fail.

Steps to reproduce

See reproducer

Do you have a reproducer?

cfolgere@7230afb#diff-56b067685861280ec36cd9358aec63794ee0d9574d13ad1e28992a900ce776ef

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions