Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
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.