Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
HttpClient with or without NSUrlsession/CFSession, never throws an exception nor recover the http link when wifi is disabled and 3G is still enabled.
- open an http streaming url from a webradio, loop on read, log packet sizes
- run app on device where 3G and Wifi are enabled and connected
Wifi is used by the connection by default. Disable Wifi only. 3G is still enabled. No exception occurs, and no more packets read are logged.
With ModernHttpClient, a WebException occurs and the app behave as excepted.
Also when using NSUrlSession or CFNetwork in xamarin studio options, HttpClient can not be used as a singleton anymore to make multiple simultaneous calls. It seems HttpClient is now stateful instead of stateless.
Hello, thanks for reaching us, in order to speed things up please include your full build logs, crash reports (if any), test case (to reproduce) and all version informations.
The easiest way to get exact version information is to use the "Xamarin Studio" menu, "About Xamarin Studio" item, "Show Details" button and copy/paste the version informations (you can use the "Copy Information" button).
Providing a concrete test case will definitely help a lot to determine what is going on in a much faster fashion, this will eliminate the what code you used guess work ;)
> Also when using NSUrlSession or CFNetwork in xamarin studio options, HttpClient can
> not be used as a singleton anymore to make multiple simultaneous calls. It seems
> HttpClient is now stateful instead of stateless.
That's a different issue (it's the handlers, not HttpClient) -> #41628
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks!