Re: [gdome] socket with gdome_di_createDocFromURI()



Hi,

On Thu, 2004-12-02 at 10:26 +0100, scetre wrote:
> Does gdome_di_createDocFromURI () closed the socket?

uhm... gdome_di_createDocFromURI is just a wrapper for some libxml2
parsing functions. In particular, it either calls xmlParseFile or
xmlRecoverFile. Both these functions are self-contained, meaning that
they take a URL and return a libxml2 tree. Hence, I assume that if they
open a socket, they close it when they're finished. If they don't,
there's nothing that gdome2 can do to close them.

Have you tried to use the xmlParseFile method directly? In that case, do
you still get a number of open sockets?

Cheers,
--luca






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]