This is an archive of the discontinued Mercurial Phabricator instance.

wireprotoserver: add version to SSH protocol names (API)
ClosedPublic

Authored by indygreg on Feb 8 2018, 12:21 AM.

Details

Summary

We recently introduced version 2 of the SSH protocol. Like we
did for the peer, we will need to differentiate version 1 and 2
of the server. So, we add version components to the advertised
name of the protocol handler.

Nothing in core looks for the old value. But an extension may.

.. api::

SSH protocol handler now advertises its name internally as
"ssh-v1" instead of "ssh."

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

indygreg created this revision.Feb 8 2018, 12:21 AM
durin42 accepted this revision.Feb 12 2018, 4:25 PM
This revision is now accepted and ready to land.Feb 12 2018, 4:25 PM
This revision was automatically updated to reflect the committed changes.