From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XrCii-0007EZ-Du for mharc-grub-devel@gnu.org; Wed, 19 Nov 2014 16:23:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrCiZ-0007D9-MR for grub-devel@gnu.org; Wed, 19 Nov 2014 16:23:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrCiS-0000GG-DU for grub-devel@gnu.org; Wed, 19 Nov 2014 16:23:15 -0500 Received: from outbound-relay.guardedhost.com ([2607:fe90:1:1::51]:53739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrCiS-0000G5-71 for grub-devel@gnu.org; Wed, 19 Nov 2014 16:23:08 -0500 Received: from relay.omnis.com (ten-mx02.omnis.com [216.239.133.142]) by outbound-relay.guardedhost.com (Postfix) with ESMTP id 3jjcSW1FK3z40KV for ; Wed, 19 Nov 2014 21:23:06 +0000 (GMT) Received: from alan-perrys-macbook-pro.local (174-21-146-214.tukw.qwest.net [174.21.146.214]) (Authenticated sender: aperry@snowmoose.com) by relay.omnis.com (Postfix) with ESMTPA id 3jjcSV0VzpzyRM for ; Wed, 19 Nov 2014 21:23:05 +0000 (GMT) Message-ID: <546D0A39.4010902@snowmoose.com> Date: Wed, 19 Nov 2014 13:23:05 -0800 From: Alan Perry Organization: Snowmoose Software User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: HTTP with other ports References: <20141119200959.5c1c05db@opensuse.site> <546CD2E4.60305@snowmoose.com> <20141119212254.28eea889@opensuse.site> In-Reply-To: <20141119212254.28eea889@opensuse.site> Content-Type: text/plain; charset=UTF-8; format=flowed X-Virus-Scanned: clamav-milter 0.98.4 at ten-mx02.omnis.com X-Virus-Status: Clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse-Id: 656a8df7-c9fa-47a8-8aa1-c7f49fa20cbe Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:fe90:1:1::51 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2014 21:23:23 -0000 On 11/19/14, 10:22 AM, Andrei Borzenkov wrote: > =D0=92 Wed, 19 Nov 2014 09:27:00 -0800 > Alan Perry =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >> On 11/19/14, 9:09 AM, Andrei Borzenkov wrote: >>> =D0=92 Wed, 19 Nov 2014 08:54:24 -0800 >>> Alan Perry =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >>> >>>> Has anyone come up with a general way to change the port number in t= he http module? Right now it is hard coded to be 80, but it is very commo= n to do HTTP over another port number. >>>> >>>> I was thinking about extending the device name syntax for network de= vices >>> Does protocol,server:port conflict with anything? (http,server:1234)/= foo >> I separated the server from the port with a comma > Do you have implementation? Then send a patch for review. It is more like prototype code and I need to clean it up. > >> because that is how >> the protocol is separated from server. I don't think either syntax >> conflicts with anything else, > Actually ':' does conflict with IPv6. > >> but I haven't been working with enough >> different parts of GRUB2 to really know. >> >> In my previous note, I mentioned a command for setting the default >> server, but I was really talking about the net_default_server env >> variable. Thinking about it, an alternate default port doesn't make >> sense because you really need to know its protocol as well. Maybe a >> default protocol or protocol/port env variable that includes both allo= ws >> the alternate port for the protocol to be specified? >> > Does not > > set root=3Dprotocol,server,[?port] > > do exactly that? Yes, it can be done that way. But I was wondering if there needs to be=20 an protocol/port variant of net_default_server. Or do I not understand=20 the intended use of net_default_server? alan > >>>> and/or adding a 'default port' (with a command to set it) to go with >>> default server. I did an implementation that works for my needs but >>> don't think it is a good general purpose implementation. >>>> Has anyone else done work here or have ideas for using alternate por= t numbers with HTTP? >>>> >>>> alan >>>> >>>>