tobogganSe connecter

louise

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

Net: connect tries each address a name resolves to (issue #186)

`net.connect` connected to the first address only. `localhost` is often
`::1` first, so a server listening on 127.0.0.1 alone was refused though
the next address would answer; `tls.dial` inherited it. Now each address
is tried in order until one accepts, and the error is the last one's.

tests/tls.rs: `tls.dial` and `net.connect` by name against servers on
127.0.0.1 only, and a refused port.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · cd65d12ce0a5d7810e69e1a44e1bdcae75c5e442

Parents bf3faa1

5 fichiers modifiés, 90 ajouts, 33 suppressions