Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-36164

network uploads: QNonContiguousByteDevice does not report error

    XMLWordPrintable

Details

    Description

      If the underlying QIODevice returns -1 (e.g. device has not been opened for reading or so), the QNonContiguousByteDevice returns 0, which could also mean we are waiting for more data.
      This means the HTTP and SPDY upload handlers cannot decide whether there was an error or not while uploading.

      We should either return -1 as well, or have some other means of reporting errors.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            peter-har Peter Hartmann
            peter-har Peter Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes