( )⚙ D2687 sslutil: lots of unicode/bytes cleanup

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
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

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