[Interest] Get intermediate data during http get
Thiago Macieira
thiago.macieira at intel.com
Fri Jan 19 20:51:56 CET 2024
On Friday, 19 January 2024 06:34:37 PST Christophe Thomas wrote:
> Using a tcp socket I noticed that I have first readyread that passes me the
> http header from the first packet and then waits the end of the tcp flow to
> gives me the full body/data part. When modifify the socket read buffer size
> it is only modifying the available data between readyread.
>
> I'm still not sure if this is due to windows network stack or is it
> related to Qt.
QTcpSocket will emit readyRead() every time that the OS wakes it up with more
data. That may not happen for every single packet; that's the OS's choice. But
the OSes don't usually wait long after receiving TCP packets and processing
them to wake the application up.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Cloud Software Architect - Intel DCAI Cloud Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5163 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240119/031d13be/attachment.bin>
More information about the Interest
mailing list