[Interest] Issue with concurrent QNetworkRequests

Jani Tykka jtykka at broadsoft.com
Tue Sep 26 22:12:43 CEST 2017

No special reason why I couldnt use 1 nam instance, I will try and see if
it makes any difference.


ti 26.9.2017 klo 22.04 Thiago Macieira <thiago.macieira at intel.com>

> On terça-feira, 26 de setembro de 2017 11:55:35 PDT Jani Tykka wrote:
> > Hi,
> >
> > I'd ask if the following issues would ring anyones bells, before I start
> > doing more deeper investigation and create test application to reproduce
> > the issue. Basically the issue in our application is reproduced following
> > way.
> >
> > 1. Have 1 big download (https) 100MB (It uses own QNam instance)
> >  - file is being written from the data got from QNetworkReply::readyRead
> > 2. During the download execute other requests (https) using different
> QNam
> > instance
> Why are you using a separate instance?
> > What is experienced that if during download other requests are executed
> the
> > data received from readyRead contains extra bytes in the middle of
> chunked
> > responses. It can be that the total file size received grows to 120MB.
> > Those extra bytes are always zeros.
> If they were the same instance, I could maybe see how there could be a
> problem. With separate instances, I'm doubting there could be a problem in
> Qt.
> Anyway, please make sure by packet sniffing that the transfer sizes are
> correct.
> You don't need to decode the transfer, you just need to compare the size of
> the transfer during a correct write to the size of the transfer during an
> incorrect one.
> > Any help or ideas on this are warmly welcome, thanks.
> The most likely scenario is that your slot is doing stupid things.
> --
> Thiago Macieira - thiago.macieira (AT)
> https://urldefense.proofpoint.com/v2/url?u=http-3A__intel.com&d=DwIFAw&c=uiYkEnhlQB0H-gDwErXr4Q&r=wvIt_JuLp9axQq3NQWhY0UHgd4iE-wQTwUWS6jf3nRM&m=JZQbjY6e3maVFM0dGfDn-LDG5oLBQn8Gk3Gg2IkOilw&s=Lkmzg50z7jqtNsRMBPBWTS9T0uGAWzRK5LZ-BlNl-bQ&e=
>   Software Architect - Intel Open Source Technology Center
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.qt-2Dproject.org_mailman_listinfo_interest&d=DwIFAw&c=uiYkEnhlQB0H-gDwErXr4Q&r=wvIt_JuLp9axQq3NQWhY0UHgd4iE-wQTwUWS6jf3nRM&m=JZQbjY6e3maVFM0dGfDn-LDG5oLBQn8Gk3Gg2IkOilw&s=VT-NTaxmjcbiOPGiMabQ83hcoxb8AZBFwu5At5WMfZ4&e=
*Jani Tykkä*
Development Manager | BroadSoft, Inc. | +358 44 596 0587 |
jtykka at broadsoft.com


This email is intended solely for the person or entity to which it is 
addressed and may contain confidential and/or privileged information. If 
you are not the intended recipient and have received this email in error, 
please notify BroadSoft, Inc. immediately by replying to this message, and 
destroy all copies of this message, along with any attachment, prior to 
reading, distributing or copying it.

Ce message confidentiel  et les éventuelles pièces jointes sont à l’usage 
exclusif de son ou de sa destinataire. Il est interdit, pour toute autre 
personne, de le distribuer, d’en dévoiler le contenu ou de le reproduire. 
Si vous avez reçu cette communication par erreur, veuillez en informer 
immédiatement l’expéditeur par courrier électronique et détruire l’original 
de ce message ainsi que toute copie.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170926/5c11b1a0/attachment.html>

More information about the Interest mailing list