[PATCH v2] net: wget: Support non-default HTTP port

Ramon Fried rfried.dev at gmail.com
Mon Dec 18 14:54:35 CET 2023


On Thu, Dec 14, 2023 at 1:06 AM Tom Rini <trini at konsulko.com> wrote:
>
> On Wed, Dec 13, 2023 at 10:11:13PM +0100, Marek Vasut wrote:
>
> > Currently the wget command is hard wired to HTTP port 80. This is
> > inconvenient, as it is extremely easy to start trivial HTTP server
> > as an unprivileged user using e.g. python http module to serve the
> > files, but such a server has to run on one of the higher ports:
> > "
> > $ python3 -m http.server -d $(pwd) 8080
> > "
> >
> > Make it possible to configure HTTP server port the same way it is
> > possible to configure TFTP server port, using environment variable
> > 'httpdstp' (similar to 'tftpdstp'). Retain port 80 as the default
> > fallback port. This way, users can start their own trivial server
> > and conveniently download whatever files they need into U-Boot.
> >
> > Signed-off-by: Marek Vasut <marex at denx.de>
>
> Reviewed-by: Tom Rini <trini at konsulko.com>
>
> --
> Tom
Reviewed-by: Ramon Fried <rfried.dev at gmail.com>


More information about the U-Boot mailing list