2 messages in com.mysql.lists.plusplusRe: libxml++ in CGI scipt breaks Apac...
FromSent OnAttachments
Andrej van der Zee11 Oct 2007 23:58 
Maarten Schrijvers12 Oct 2007 01:45 
Subject:Re: libxml++ in CGI scipt breaks Apache connection
From:Maarten Schrijvers (maar@gmail.com)
Date:10/12/2007 01:45:13 AM
List:com.mysql.lists.plusplus

Hi Andrej,

You might want to ask your question here: http://sourceforge.net/mail/?group_id=12999

This is the mysql++ mailinglist ;)

Andrej van der Zee schreef:

Hi,

I am sorry if this already has been asked...

I am trying to use libxml++ to parse XML-requests in a CGI script. The problem is that somehow the connection is broken in the xmlpp::Node::find(xpath) method and then I get a ".Premature end of script headers: mbrace.cgi" message in my Apache log.

Does the library raise any SIGPIPE signal? Is this a known issue? More important, what is the best thing to solve this issue? Blocking all signals in the main-thread didn't work out for me.

Thanks, Andrej