On 5/3/06, Thomas Rosenblatt <[EMAIL PROTECTED]> wrote:
Well I'm desperate with my resolver, since my cache is not usefull. (Indeed because of sres_resolver_destroy I lost some datas...) I send you the code of the thread that handles a new dnsRequest:
ag=su_home_new(*sizeof*(nta_agent_t));
This does not look very good. ;) I hope your mailer or gmail mangled the message. Perhaps sending your code fragment in attachment would help.
Well I do not understand, why memory of the cache is freed :(.
Have you double-checked your code using cache? Do you unref cache pointer?
Am I supposed to free memory like this?
I suppose you have modified nta? If so, this looks pretty bad.
Besides , Are you still working on multi threading in Sofia?
You mean like multithreading support in nta? The question is, why do you need multithreading there? Easier multitasking in upper layers of the application?
PS: I'm not working with sres_blocking functions, since I have one resolver per thread...
That is the problem what the sres_blocking_* are expected to solve. Please see utils/sip-dig.c, too. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel