This is an archive of the discontinued Mercurial Phabricator instance.

sslutil: lots of unicode/bytes cleanup
ClosedPublic

Authored by durin42 on Mar 4 2018, 9:19 PM.

Details

Summary

In general, we handle hostnames as bytes, except where Python forces
them to be unicodes.

This fixes all the tracebacks I was seeing in test-https.t, but
there's still some ECONNRESET weirdness that I can't hunt down...

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Mar 4 2018, 9:19 PM
This revision was automatically updated to reflect the committed changes.