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

Re: git-send-email and IPv6-only host

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 28, 2015, 17:19 UTC
Message-ID
<xmqqbndr2uwi.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20150828041119.GP301234@dakara>
Stéphane Graber <stgraber@stgraber.org> writes:
Show 17 quoted lines
> Hello,
>
> I've recently switched my home network to be IPv6-only, using NAT64 and
> DNS64 to reach IPv4 hosts. Pretty much everything I use day to day just
> kept on working fine, but I keep finding some small problems here and
> there, mostly to do with perl software.
>
> One of those is git-send-email which isn't capable of talking to an IPv6
> SMTP server.
>
> I've locally patched my git-send-email to add:
>
>     require Net::INET6Glue::INET_is_INET6;
>
> This seems to be the magic bullet for all IPv6 problems I've had with
> perl software, though I'm not sure whether this is an acceptable fix
> upstream as this does bring an additional dependency to git-send-email.

I wonder what happens if you 'require' that Glue on a host that is not IPv6-only.

What I am trying to get at is if what that Glue thing does is an acceptable thing to do in the Net::* Perl modules (e.g. Net::SMTP and Net::SMTP::SSL that we use), i.e., what INET6Glue does to work around issues in Net::* is a problem Net::* Perl modules should be solving for the users of these modules.

After all, it is madness to ask all packages that use Net::* infrastructure, like git-send-email, to 'require' an extra module.

Thanks.
Previous: Stéphane GraberNext: Stéphane Graber
Message 2 of 3 in “git-send-email and IPv6-only host”
  1. Stéphane GraberAug 28, 2015
  2. Junio C HamanoAug 28, 2015
  3. Stéphane GraberAug 28, 2015

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.