From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Xr9uI-00039q-Eu for mharc-grub-devel@gnu.org; Wed, 19 Nov 2014 13:23:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr9uB-00038s-B8 for grub-devel@gnu.org; Wed, 19 Nov 2014 13:23:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xr9u6-0000R0-JW for grub-devel@gnu.org; Wed, 19 Nov 2014 13:23:03 -0500 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:37689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr9u6-0000Qh-8b for grub-devel@gnu.org; Wed, 19 Nov 2014 13:22:58 -0500 Received: by mail-la0-f42.google.com with SMTP id s18so1020409lam.29 for ; Wed, 19 Nov 2014 10:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=YoE2kNyZ8bs+0YKqzE0VbkhvMBO6Lr+yQ3fn6zfeIw0=; b=TvaPT+forvum2OVxG6amLYArEQFmPyBuzV238vZJiOYMFbETbUrsbxp2xH0Ww4m9Jw pH4aO2srlMt9fb0MkJRWGuBXbRuGpKgnWTJdvAN2Ypyb+Mm/bLEnD9HRTZNwBBVYT7H2 DF70SM3C2h98YjLg4ZhdmCAhDMQ+E39Rr86BdyAHWKlUktAfeQabnwgYBX95YSBtG/k/ T/ZywKwuPoIMYmbva7CnRLsrLzF6dC+wJfjy5lEwbR0cez9wsR/Ne0p7j6a5NGKcnKTn gcK0iW5h1qFodHVybfrVk/+CQjZA9KleGxPYN5osnTHP1cGt80m/6PTeUcMqXwpnM5NV PSOw== X-Received: by 10.152.44.197 with SMTP id g5mr44622427lam.4.1416421377066; Wed, 19 Nov 2014 10:22:57 -0800 (PST) Received: from opensuse.site (ppp91-76-139-38.pppoe.mtu-net.ru. [91.76.139.38]) by mx.google.com with ESMTPSA id lu5sm754lac.0.2014.11.19.10.22.55 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Nov 2014 10:22:56 -0800 (PST) Date: Wed, 19 Nov 2014 21:22:54 +0300 From: Andrei Borzenkov To: Alan Perry Subject: Re: HTTP with other ports Message-ID: <20141119212254.28eea889@opensuse.site> In-Reply-To: <546CD2E4.60305@snowmoose.com> References: <20141119200959.5c1c05db@opensuse.site> <546CD2E4.60305@snowmoose.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22a Cc: grub-devel@gnu.org 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 18:23:08 -0000 =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 the= http module? Right now it is hard coded to be 80, but it is very common to= do HTTP over another port number. > >> > >> I was thinking about extending the device name syntax for network devi= ces > > Does protocol,server:port conflict with anything? (http,server:1234)/foo >=20 > I separated the server from the port with a comma Do you have implementation? Then send a patch for review. > because that is how=20 > the protocol is separated from server. I don't think either syntax=20 > conflicts with anything else, Actually ':' does conflict with IPv6. > but I haven't been working with enough=20 > different parts of GRUB2 to really know. >=20 > In my previous note, I mentioned a command for setting the default=20 > server, but I was really talking about the net_default_server env=20 > variable. Thinking about it, an alternate default port doesn't make=20 > sense because you really need to know its protocol as well. Maybe a=20 > default protocol or protocol/port env variable that includes both allows= =20 > the alternate port for the protocol to be specified? >=20 Does not set root=3Dprotocol,server,[?port] do exactly that? > alan >=20 > > > >> 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 port = numbers with HTTP? > >> > >> alan > >> > >> > >> _______________________________________________ > >> Grub-devel mailing list > >> Grub-devel@gnu.org > >> https://lists.gnu.org/mailman/listinfo/grub-devel > > > > _______________________________________________ > > Grub-devel mailing list > > Grub-devel@gnu.org > > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel