Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1743

Zero message size reported to ConnectionListener.messagesSent

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.0.1, 3.1.0
    • 3.0.0
    • Monitoring
    • None

    Description

      The message size is being calculated based on ByteBuf.remaining(), but that has to happen before the byte buffer is sent to the stream. Otherwise remaining equals 0.

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: