<div dir="ltr">in addition: even if i create new object instance for <span>QNetworkAccessManager, it still won't connect to internet, as if it still uses WiFi "globally" even though wifi is off<br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 10, 2015 at 11:07 AM, Alexander Ladygin <span dir="ltr"><<a href="mailto:fake.ae@gmail.com" target="_blank">fake.ae@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">but how exactly can i make disconnect? All the network requests i send with <span>QNetworkAccessManager</span> after switching to mobile are returned with errors =(<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 10, 2015 at 4:05 AM, Aaron McCarthy <span dir="ltr"><<a href="mailto:aaron.mccarthy@jolla.com" target="_blank">aaron.mccarthy@jolla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Tue, 10 Nov 2015 03:37:10 Alexander Ladygin wrote:<br>
> I've got an issue: QNetworkAccessManager is losing connection upon<br>
> switching between wifi and mobile:( What exactly should i do/update to make<br>
> it work properly? Maybe need to change network configuration? Why it is not<br>
> handled by platform?<br>
<br>
</span>There is some support for migrating connections to the new interface. QNAM<br>
supports resuming GET operations under the following conditions:<br>
<br>
1. Only GET requests are resumed.<br>
2. No outgoing data.<br>
3. Server supports HTTP Accept-Ranges.<br>
4. Does not work with QNAM's zero-copy feature.<br>
5. Must be using bearer management.<br>
<br>
For other operations and GET requests that do not meet the above, you will<br>
need to handle the network disconnection and resend the request.<br>
<br>
Cheers,<br>
<span><font color="#888888"><br>
--<br>
Aaron McCarthy<br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>