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

Support QAbstractSocket::LowDelayOption with QNAM

    XMLWordPrintable

Details

    Description

      In general it could be nice if QNAM allowed to set all socket options, but QAbstractSocket::LowDelayOption could be added implicitly too. Seems that is has once been there, but was commented out (src/network/access/qhttpnetworkconnectionchannel.cpp):

          //socket->setSocketOption(QAbstractSocket::LowDelayOption, 1);
          // We have this commented out now. It did not have the effect we wanted. If we want to
          // do this properly, Qt has to combine multiple HTTP requests into one buffer
          // and send this to the kernel in one syscall and then the kernel immediately sends
          // it as one TCP packet because of TCP_NODELAY.
          // However, this code is currently not in Qt, so we rely on the kernel combining
          // the requests into one TCP packet.
      

      Attachments

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

        Activity

          People

            manordheim MÃ¥rten Nordheim
            poikelin Joni Poikelin
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes