Skip to content
Snippets Groups Projects
Commit a39a9df7 authored by Jörg Sonnenberger's avatar Jörg Sonnenberger
Browse files

wireproto: split streamres into legacy and modern case

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.

Differential Revision: https://phab.mercurial-scm.org/D1862
parent 3a3b59bb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment