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

QHttpServer terribly slow file transfer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.7.0 FF
    • 6.6.0
    • Qt Http Server
    • None
    • All
    • f10e24883 (dev)
    • Foundations Sprint 96

    Description

      using some code similar to

       

       server.route("/getdump", QHttpServerRequest::Method::Get, [] (const QHttpServerRequest &request,QHttpServerResponder &&responder) {
       QFile * f = new QFile("C:\\foo\\bar.dump"));                responder.write(f,"application/octet-stream",QHttpServerResponse::StatusCode::Ok);
      
         });

      basically works, but transfer speed is very slow, 10-20 MB/s on a network where at least 50-60 MB/s is possible

      Attachments

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

        Activity

          People

            ievgenii.meshcheriakov Ievgenii Meshcheriakov
            stoeckerb Bernhard Stöcker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes