Hi, everybody. I use new Symbian 7.0s HTTP classes in Series60 v.2 application. I need to be able to download several streams simulteneously in my app. So I use multithreading. (I could use Active Objects, but RHTTPTransaction::SubmitL blocks user interface when "Select Access point" dialog appears even if active object has lowest priority.) So I use another thread to download data. I create CleanupStack and ActiveScheduler and everything works fine. However I can't share RHTTPSession between multiple threads. This doesn't work. In other words if i use RHTTPSession in main thread and call it's OpenL() there I can't use the pointer to this RHTTPSession object in another thread.
So I create RHTTPSession object in download thread and it works. But.. If I create another thread to download data i have again to create another RHTTPSession object, call OpenL, etc.
And every time "Select Access point" dialog apears which is clear because each RHTTPSession is new in each thread. Has anybody faced this problem and found some solution ? Maybe I can setup default Access point for my application or somehow share RHTTPSession between multiple threads ?
Best regards, Alexander.