9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] alternative port with webfs?
@ 2009-03-15 23:18 Mathieu
  2009-03-16  0:40 ` Gorka Guardiola
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu @ 2009-03-15 23:18 UTC (permalink / raw)
  To: 9fans

Hi all,

I'm working on something that will use http requests so I figured using
webfs instead of reinventing the wheel might be a good idea, even though
I've been hinted on #plan9 that it's far from perfect.
My first try was to duplicate some code from /sys/src/cmd/webfs/webget.c
and it seemed that I couldn't get a reply from a server
listening on a port other than 80, using that syntax for the url:
http://host:port/path. Then I tried the same thing with webfsget
and I also got a 'Connection refused'.
I've just had a quick peak in /sys/src/cmd/webfs/url.c and looking at
the comments it seems that this kind of syntax for the url should be
directly supported when writing it to webfs. Haven't looked yet at the
code though.
So am I missing something, or is it just not implemented yet?

Cheers,
Mathieu




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-16  1:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-15 23:18 [9fans] alternative port with webfs? Mathieu
2009-03-16  0:40 ` Gorka Guardiola
2009-03-16  1:23   ` Mathieu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).