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