git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] instaweb: fix ip binding for the python http.server

From
Arti Zirk <arti.zirk@gmail.com>
Date
Jan 15, 2025, 09:24 UTC
Message-ID
<6deb9ea67b2dafb12d02146a29a35ddd970f7c06.camel@gmail.com>
In-Reply-To
<20250110101346.30416-1-alecsk@gmail.com>
On R, 2025-01-10 at 18:13 +0800, Alecs King wrote:
> `git instaweb -d python` should bind the server to 0.0.0.0
> `git instaweb -d python -l` should bind the server to 127.0.0.1
Thanks for noticing that bug and sending a patch!
>  GitWebRequestHandler(CGIHTTPRequestHandler):
NB: Looks like CGI support will be removed some time in the future and
the Python backend for instaweb will stop working afterwards.
https://docs.python.org/3.13/library/http.server.html#http.server.CGIHTTPRequestHandler
When I get the time I should look into cleaning up the instaweb script.
Previous: Junio C Hamano
Message 3 of 3 in “instaweb: fix ip binding for the python http.server”
  1. instaweb: fix ip binding for the python http.serverAlecs King, Jan 10, 2025
  2. Junio C HamanoJan 10, 2025
  3. Arti ZirkJan 15, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.