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

AbstractTransport::readString uses wrong format

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

      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.

              ttarrant@redhat.com Tristan Tarrant
              rvansa1@redhat.com Radim Vansa (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: