This is an archive of the discontinued Mercurial Phabricator instance.

wireproto: client reactor support for receiving frames
ClosedPublic

Authored by indygreg on Apr 10 2018, 9:26 PM.

Details

Summary

We can now feed received frames into the client reactor and it will
validate their sanity, dispatch them appropriately.

The hacky HTTP peer has been updated to use the new code. No
existing tests changed, somewhat proving the code works as
expected.

Rudimentary unit tests for the new functionality have been
implemented.

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.Apr 10 2018, 9:26 PM
durin42 accepted this revision.Apr 11 2018, 12:35 PM
This revision is now accepted and ready to land.Apr 11 2018, 12:35 PM
This revision was automatically updated to reflect the committed changes.