Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-72

Incorrect equals comparison in io.undertow.client.HttpClientRequestImpl

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha19
    • None
    • Core
    • None

      Line 137 contains:

      keepAlive = !headers.get(Headers.CONNECTION).equals(Headers.CLOSE.toString());

      It's comparing a io.undertow.util.HeaderValues object with a java.lang.String.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              sfcoy Stephen Coy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: