This is an archive of the discontinued Mercurial Phabricator instance.

wireproto: split streamres into legacy and modern case
ClosedPublic

Authored by joerg.sonnenberger on Jan 15 2018, 6:31 PM.

Details

Summary

A couple of commands currently require transmission of uncompressed
frames with the old MIME type. Split this case from streamres into
a new streamres_legacy class. Streamline the remaining code accordingly.

Add a new flag to streamres to request uncompressed streams. This is
useful for sending data that is already compressed like a pre-built
bundle. Expect clients to support uncompressed data. For older clients,
zlib will still be used.

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.