From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net From: "Mathieu" Date: Mon, 16 Mar 2009 02:23:00 +0100 In-Reply-To: <599f06db0903151740q7432717cy6cb53d4d27b21fef@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-bgffoxnjwdhzvjsswrbxwugulg" Subject: Re: [9fans] alternative port with webfs? Topicbox-Message-UUID: bba18b8a-ead4-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-bgffoxnjwdhzvjsswrbxwugulg Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Ah it seems the tree I was using for 9vx was a bit old indeed. I've just pulled the latest webfs from sources and it's working fine now, thanks a lot. Cheers, Mathieu --upas-bgffoxnjwdhzvjsswrbxwugulg Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Original-To: lejatorn@smgl.fr.eu.org Delivered-To: lejatorn@smgl.fr.eu.org Received: from mail-bw0-f163.google.com (mail-bw0-f163.google.com [209.85.218.163]) by serenity.smgl.fr.eu.org (Postfix) with ESMTP id 7482F7E81B for ; Mon, 16 Mar 2009 01:48:32 +0100 (CET) Received: by bwz7 with SMTP id 7so3675881bwz.11 for ; Sun, 15 Mar 2009 17:48:31 -0700 (PDT) Received: by 10.103.49.12 with SMTP id b12mr1888432muk.65.1237164511888; Sun, 15 Mar 2009 17:48:31 -0700 (PDT) X-Forwarded-To: lejatorn@smgl.fr.eu.org X-Forwarded-For: lejatorn@gmail.com lejatorn@smgl.fr.eu.org Delivered-To: lejatorn@gmail.com Received: by 10.103.242.6 with SMTP id u6cs137864mur; Sun, 15 Mar 2009 17:48:31 -0700 (PDT) Received: by 10.151.46.3 with SMTP id y3mr7429789ybj.197.1237164510700; Sun, 15 Mar 2009 17:48:30 -0700 (PDT) Received: from gouda.swtch.com (gouda.swtch.com [67.207.142.3]) by mx.google.com with ESMTP id 10si12723451gxk.36.2009.03.15.17.48.29; Sun, 15 Mar 2009 17:48:30 -0700 (PDT) Received-SPF: pass (google.com: domain of 9fans-bounces+lejatorn=gmail.com@9fans.net designates 67.207.142.3 as permitted sender) client-ip=67.207.142.3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of 9fans-bounces+lejatorn=gmail.com@9fans.net designates 67.207.142.3 as permitted sender) smtp.mail=9fans-bounces+lejatorn=gmail.com@9fans.net Received: from localhost ([127.0.0.1] helo=gouda.swtch.com) by gouda.swtch.com with esmtp (Exim 4.67) (envelope-from <9fans-bounces@9fans.net>) id 1Lj0sX-0001IP-Ve; Mon, 16 Mar 2009 00:40:29 +0000 Received: from mail-gx0-f179.google.com ([209.85.217.179]) by gouda.swtch.com with esmtp (Exim 4.67) (envelope-from ) id 1Lj0sV-0001IK-Sm for 9fans@9fans.net; Mon, 16 Mar 2009 00:40:27 +0000 Received: by gxk27 with SMTP id 27so5034616gxk.0 for <9fans@9fans.net>; Sun, 15 Mar 2009 17:40:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.200.8 with SMTP id x8mr7430808ybf.188.1237164022157; Sun, 15 Mar 2009 17:40:22 -0700 (PDT) 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? X-BeenThere: 9fans@9fans.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.9fans.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces@9fans.net Errors-To: 9fans-bounces+lejatorn=gmail.com@9fans.net 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 --upas-bgffoxnjwdhzvjsswrbxwugulg--