Re: [gdome] socket with gdome_di_createDocFromURI()
- From: Luca Padovani <lpadovan cs unibo it>
- To: "gdome gnome org" <gdome gnome org>
- Subject: Re: [gdome] socket with gdome_di_createDocFromURI()
- Date: Thu, 02 Dec 2004 10:40:50 +0100
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]