PDA

View Full Version : NSURLConnection Internal Process.




mpramodjain
Dec 12, 2008, 11:49 PM
Hi,

Do anyone know how does NSURLConnection works internally.

I am having a strange problem with NSURL (HTTP CONNECTION.) I am using the same code for a file in local server in two different forms of the url(url containing ip address and domain name.)

It is asynchronous connection. When using the ipaddres the leak instrument is not showing any memory leak , but when using the domain name it is showing memory leak for the same code. My code doesnt had any alloc or copy used for objects.

In the extended detail of Leak Instrument is showing memory leaks (NSCFString) NSURLConnectionInternally.

Do anyone know what would be the technical issue behind this.

Thank u.