aaaand? =) The question is how to make QNetworkAccessManager work On Tue, Nov 10, 2015 at 1:38 PM, Andrey Kozhevnikov <coderusin...@gmail.com> wrote:
> QNetworkConfigurationManager have signal: onlineStateChanged(bool) > > ------ Исходное сообщение ------ > От: "Alexander Ladygin" <fake...@gmail.com> > Кому: aaron.mccar...@jolla.com; "Sailfish OS Developers" < > devel@lists.sailfishos.org> > Отправлено: 10.11.2015 14:06:12 > Тема: Re: [SailfishDevel] QNetworkAccessManager is losing connection upon > switching between wifi and mobile > > > in addition: even if i create new object instance for QNetworkAccessManager, > it still won't connect to internet, as if it still uses WiFi "globally" > even though wifi is off > > On Tue, Nov 10, 2015 at 11:07 AM, Alexander Ladygin <fake...@gmail.com> > wrote: > >> but how exactly can i make disconnect? All the network requests i send >> with QNetworkAccessManager after switching to mobile are returned with >> errors =( >> >> On Tue, Nov 10, 2015 at 4:05 AM, Aaron McCarthy <aaron.mccar...@jolla.com >> > wrote: >> >>> On Tue, 10 Nov 2015 03:37:10 Alexander Ladygin wrote: >>> > I've got an issue: QNetworkAccessManager is losing connection upon >>> > switching between wifi and mobile:( What exactly should i do/update to >>> make >>> > it work properly? Maybe need to change network configuration? Why it >>> is not >>> > handled by platform? >>> >>> There is some support for migrating connections to the new interface. >>> QNAM >>> supports resuming GET operations under the following conditions: >>> >>> 1. Only GET requests are resumed. >>> 2. No outgoing data. >>> 3. Server supports HTTP Accept-Ranges. >>> 4. Does not work with QNAM's zero-copy feature. >>> 5. Must be using bearer management. >>> >>> For other operations and GET requests that do not meet the above, you >>> will >>> need to handle the network disconnection and resend the request. >>> >>> Cheers, >>> >>> -- >>> Aaron McCarthy >>> _______________________________________________ >>> SailfishOS.org Devel mailing list >>> To unsubscribe, please send a mail to >>> devel-unsubscr...@lists.sailfishos.org >>> >> >> > > _______________________________________________ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to > devel-unsubscr...@lists.sailfishos.org >
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org