From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <055fe646e2d88c0e525db62af670caa3@smgl.fr.eu.org> References: <055fe646e2d88c0e525db62af670caa3@smgl.fr.eu.org> Date: Mon, 16 Mar 2009 01:40:22 +0100 Message-ID: <599f06db0903151740q7432717cy6cb53d4d27b21fef@mail.gmail.com> From: Gorka Guardiola To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] alternative port with webfs? Topicbox-Message-UUID: bb9a35ce-ead4-11e9-9d60-3106f5b1d025 On Mon, Mar 16, 2009 at 12:18 AM, Mathieu wrote: > 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 patched this a little bit and seems to work for me. =BFDo you have the latest version?. --=20 - curiosity sKilled the cat