Bug 53792

Summary: CFNetworkHandler reports correct download when internet connection is lost during request
Product: iOS Reporter: Manuel de la Peña <manuel.delapena>
Component: Xamarin.iOS.dllAssignee: Manuel de la Peña <manuel.delapena>
Status: VERIFIED FIXED    
Severity: normal CC: mono-bugs+monotouch, v-prala
Priority: ---    
Version: XI 10.3 (iOS 10.2)   
Target Milestone: 15.3   
Hardware: PC   
OS: Mac OS   
Tags: Is this bug a regression?: ---
Last known good build:
Attachments: Test application

Description Manuel de la Peña 2017-03-22 17:31:20 UTC
The iOS implementation does not work as expected when the phone is disconnected. The issue is that the stream reports and error after the response has been set to be completed which means that the stream gets closed and the request is concluded as everything was correct.
Comment 3 Manuel de la Peña 2017-04-26 08:50:41 UTC
Created attachment 21790 [details]
Test application

Application that can be used to test the fix. Start the application, a download will start and remove the device connection during the download (airplane mode) and an exception should be raised instead of the download being completed.
Comment 4 Manuel de la Peña 2017-05-10 17:10:49 UTC
Please QA can you take this for a spin.