Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mpramodjain

macrumors regular
Original poster
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.