[vos-d] URL::parse problem
Peter Amstutz
tetron at interreality.org
Thu Apr 19 10:01:22 EDT 2007
Actually, I'm pretty sure the HTTP_GET() function ignores the port on
the URL object and asks to connect to the "http" port (which should be
looked up in /etc/services). Perhaps that should just specify port 80
explicitly.
But you're right, the VOS "URL" class is highly VOS-specific in
specifying 4231 as a default, which is kind of silly.
On Wed, Apr 18, 2007 at 10:55:44PM -0700, Ken Taylor wrote:
> So I tracked down one of the problems I'm having with the wikipedia demo
> object: It's trying to connect to http://en.wikipedia.org:4231/ -- turns out
> if you give the URL parser a URL without a port, it will add 4321 as the
> port! That seems kinda silly to me, since default port is a
> protocol-specific thing. I'm surprised this has worked for you (assuming
> you've been using it as is) -- oh well, I'll just force it to :80 in the
> wikipedia object and see how it goes from there.
>
> -Ken
>
>
> _______________________________________________
> vos-d mailing list
> vos-d at interreality.org
> http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d
--
[ Peter Amstutz ][ tetron at interreality.org ][ peter.amstutz at gdit.com ]
[Lead Programmer][Interreality Project][Virtual Reality for the Internet]
[ VOS: Next Generation Internet Communication][ http://interreality.org ]
[ http://interreality.org/~tetron ][ pgpkey: pgpkeys.mit.edu 18C21DF7 ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.interreality.org/pipermail/vos-d/attachments/20070419/7e9da3a9/attachment.pgp
More information about the vos-d
mailing list