[Mono-bugs] [Bug 686069] New: NSUrlConnection won't work outside main thread

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 7 18:45:14 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=686069

https://bugzilla.novell.com/show_bug.cgi?id=686069#c0


           Summary: NSUrlConnection won't work outside main thread
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: liiir1985 at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer
           Blocker: ---


Description of Problem:
I used NSUrlConnection outside the main thread, because my appication needed
so. But NSUrlConnection just does nothing at all. And I spend hours in debuging
it to find out what is going, and finally it worked if I move it into Main
Thread.
I don't know if it's intended to be so, but we should be at lease informed with
a warning or exception, so we don't need to waste hours on this.

Steps to reproduce the problem:
1. Use NSUrlConnection outside main thread


Actual Results:
Nothing happens after connection.Start, delegate never get called

Expected Results:
delegate get called or exception will be thrown

How often does this happen? 
Always

Additional Information:

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list