Re: [xml] timeouts when fetching URLs at a port other than :80
- From: "William M. Brack" <wbrack mmm com hk>
- To: "Brian Tingle" <Brian Tingle ucop edu>
- Cc: xml gnome org
- Subject: Re: [xml] timeouts when fetching URLs at a port other than :80
- Date: Thu, 6 Mar 2008 16:53:26 -0800 (PST)
This could be the result of
http://bugzilla.gnome.org/show_bug.cgi?id=514521. Can you fetch
nanohttp.c from svn and recompile libxml2?
Bill
Brian Tingle wrote:
It seems to just be a problem with libxml2-2.6.31
voro davinci:/voro/local/src% time libxml2-2.6.30/xmllint --noout
http://content-dev.cdlib.org:8088/x.xml
0.00u 0.01s 0:00.07 14.2%
voro davinci:/voro/local/src% time libxml2-2.6.31/xmllint --noout
http://content-dev.cdlib.org:8088/x.xml
http://content-dev.cdlib.org:8088/x.xml:1: parser error : Document
is
empty
^
http://content-dev.cdlib.org:8088/x.xml:1: parser error : Start tag
expected, '<' not found
^
0.01u 0.01s 2:00.08 0.0%
Interestingly, in both cases the server thinks it has delivered the
files
....193 - - [06/Mar/2008:14:49:23 -0800] "GET /x.xml HTTP/1.0" 200 5
"-"
"-"
....193 - - [06/Mar/2008:14:49:42 -0800] "GET /x.xml HTTP/1.0" 200 5
"-"
"-"
________________________________
From: Brian Tingle
Sent: Thursday, March 06, 2008 1:36 PM
To: 'xml gnome org'
Subject: timeouts when fetching URLs at a port other than :80
Hi,
I am porting some code from Solaris 8 to Solaris 10 and I thought
would
recompile the libraries and perl modules it uses. I am having a
strange
problem with an XSLT that has an external include that I think I
have
tracked down to xmllint/libxml.
When I use the xmllint that ships when solaris 10 or the one I
compiled
years back on solaris 8, both of these commands execute with an exit
code 0
1) xmllint --noout http://content-dev.cdlib.org/x.xml
2) xmllint --noout http://content-dev.cdlib.org:8088/x.xml
Howver, when the libxml2 I recently compiled
voro davinci:/voro/local/src/libxml2-2.6.31% xmllint -version
xmllint: using libxml version 20631
compiled with: Threads Tree Output Push Reader Patterns Writer
SAXv1
FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude
Iconv
ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules
Debug
Zlib
I get different results for 1) and 2). 1) executes and returns exit
code 0
When I run 2), nothing happens for about a minute or so, and then I
get
this
http://content-dev.cdlib.org:8088/x.xml:1: parser error : Document
is
empty
^
http://content-dev.cdlib.org:8088/x.xml:1: parser error : Start tag
expected, '<' not found
^
I have tested with apache1, apache2, and resin; and what seems to
matter
is if the server is running on port 80 or not.
Thanks for any advice you might have, -- Brian
PS thank you for libxml2 and libxslt! They have helped me a lot
over
the years.
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]