From: Andreas Schwab <schwab@suse.de>
To: Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Cc: 17976@debbugs.gnu.org
Subject: bug#17976: 24.3; url-retrieve-synchronously doesn't fallback to IPv4
Date: Wed, 09 Jul 2014 15:06:37 +0200 [thread overview]
Message-ID: <mvmegxur89u.fsf@hawking.suse.de> (raw)
In-Reply-To: <878uo2ogg6.wl-jch@pps.univ-paris-diderot.fr> (Juliusz Chroboczek's message of "Wed, 09 Jul 2014 14:38:17 +0200")
Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr> writes:
> My machine has both IPv6 and IPv4. I'm accessing a server that has both
> IPv6 and IPv4, but whose web server listens on IPv4 only. The web server
> is doing the right thing, sending RST upon IPv6 connection attempts. Wget
> and telnet do the right thing, they fallback to IPv4:
>
> $ telnet moule.informatique.univ-paris-diderot.fr 8080
> Trying 2001:660:3301:8070::40...
> Trying 194.254.199.40...
> Connected to moule.informatique.univ-paris-diderot.fr.
> Escape character is '^]'.
>
> On the other hand, url-retrieve-synchronously returns an empty string.
> Tcpdump shows that it's never even trying IPv4:
>
> (with-current-buffer
> (url-retrieve-synchronously
> "http://moule.informatique.univ-paris-diderot.fr:8080")
> (buffer-substring (point-min) (point-max)))
> ""
I cannot reproduce that here. Emacs is properly falling back to IPv4
and I get the expected contents from this command.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
next prev parent reply other threads:[~2014-07-09 13:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-09 12:38 bug#17976: 24.3; url-retrieve-synchronously doesn't fallback to IPv4 Juliusz Chroboczek
2014-07-09 13:06 ` Andreas Schwab [this message]
2014-07-09 20:25 ` Juliusz Chroboczek
2014-07-10 7:17 ` Andreas Schwab
2014-07-10 20:28 ` Juliusz Chroboczek
2014-07-10 20:54 ` Juliusz Chroboczek
2014-07-11 12:21 ` Andreas Schwab
2015-12-25 20:33 ` Lars Ingebrigtsen
2015-12-25 20:43 ` Eli Zaretskii
2015-12-25 20:48 ` Lars Ingebrigtsen
2015-12-25 21:14 ` Andreas Schwab
2015-12-25 21:23 ` Lars Ingebrigtsen
2015-12-25 21:44 ` Andreas Schwab
2015-12-25 23:15 ` Juliusz Chroboczek
2015-12-25 21:00 ` Andreas Schwab
2016-06-12 18:36 ` Paul Eggert
-- strict thread matches above, loose matches on Subject: below --
2016-06-26 21:58 bug#23620: " Paul Eggert
2016-06-26 23:20 ` Juliusz Chroboczek
2017-10-21 23:55 ` bug#17976: " Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mvmegxur89u.fsf@hawking.suse.de \
--to=schwab@suse.de \
--cc=17976@debbugs.gnu.org \
--cc=jch@pps.univ-paris-diderot.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).