Skip to content

HeaderTemplate has non-deterministic order for multi-valued headers #1007

Closed

Description

@mbarkley

Here and here, Collectors.toSet is used, which results in multi-valued header values being stored in a HashSet. Consequently the order of multi-valued headers is non-deterministic.

As a LinkedHashSet is used in close proximity, I assume this is a bug.

Activity

  1. added
    bugUnexpected or incorrect behavior
    help wantedIssues we need help with tackling
    on Jul 18, 2019
  2. kdavisk6 commented on Jul 18, 2019

    @kdavisk6
    Member

    @mbarkley

    Thank you for bringing this to our attention. I've flagged this as a bug and as help wanted asking for other to help us fix this. If you are interested, please feel free to raise a PR with a potential fix.

  3. added a commit that references this issue on Jul 18, 2019
    41c5620
  4. mbarkley commented on Jul 18, 2019

    @mbarkley
    ContributorAuthor
  5. added a commit that references this issue on Jul 18, 2019
    616fc68
  6. added a commit that references this issue on Jul 22, 2019
    aa565e4
  7. added 2 commits that reference this issue on Oct 7, 2024
    1876b40
    8b2d7eb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnexpected or incorrect behaviorhelp wantedIssues we need help with tackling

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions