<HTML><HEAD>
<STYLE id=eMClientCss>blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
.plain pre, .plain tt { font-family: monospace; font-size: 100%; font-weight: normal; font-style: normal; white-space: pre-wrap; }
a img { border: 0px; }body {font-family: Tahoma;font-size: 12pt;}
.plain pre, .plain tt {font-family: Tahoma;font-size: 12pt;}
</STYLE>
<STYLE></STYLE>
</HEAD>
<BODY scroll=auto class>
<DIV>QNetworkConfigurationManager have signal: onlineStateChanged(bool) </DIV>
<DIV> </DIV>
<DIV>------ Исходное сообщение ------</DIV>
<DIV>От: "Alexander Ladygin" <<A href="mailto:fake.ae@gmail.com">fake.ae@gmail.com</A>></DIV>
<DIV>Кому: <A href="mailto:aaron.mccarthy@jolla.com">aaron.mccarthy@jolla.com</A>; "Sailfish OS Developers" <<A href="mailto:devel@lists.sailfishos.org">devel@lists.sailfishos.org</A>></DIV>
<DIV>Отправлено: 10.11.2015 14:06:12</DIV>
<DIV>Тема: Re: [SailfishDevel] QNetworkAccessManager is losing connection upon switching between wifi and mobile</DIV>
<DIV> </DIV>
<DIV id=xcaace44b944841f6bf460e32c113a4be>
<BLOCKQUOTE class=cite2 cite=CAD+BcNBZ4SAp+4iR20RvHMYBQqvzj0hjbysQ06fpVQX3hPe2nQ@mail.gmail.com type="cite">
<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">fake.ae@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex">
<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">aaron.mccarthy@jolla.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex"><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">devel-unsubscribe@lists.sailfishos.org</A><BR></FONT></SPAN></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></DIV></BODY></HTML>