Uploaded image for project: 'Hot Rod Native client'
  1. Hot Rod Native client
  2. HRCPP-69

AbstractTransport::readString uses wrong format

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Critical
    • None
    • None
    • None
    • None

    Description

      AbstractTransport::readString uses readArray, which then calls readVInt and reads some number of bytes.
      However, the server writes fixed-size unsigned int in the response => the client reads some rubbish.

      Note that Java version of HotRod client does not have implemented the readVInt method - it just reads unsigned int under the hood => it works against the server.

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            rvansa1@redhat.com Radim Vansa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: