Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-770

Continue writing until all bytes have been written

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2-rc0, 1.1.11
    • Affects Version/s: None
    • Component/s: libmongoc, network
    • None

      In writev_full() we should loop until r == total_bytes, rather then fail right away.

      Unless r <= 0 we should resume writing from the r position, so advancing the iovec and quick dancing would be needed.

      The expiration also need to be confirmed – if now() is > expire then abort and fail.

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: