1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-14 02:42:40 +01:00
phorge-arcanist/src/conduit
epriestley 377ed2ed8d If the Conduit server asserts it has the "gzip" capability, compress requests
Summary:
Ref T13507. For various messy reasons we can't blindly assume the server supports "gzip" -- but if the server tells us it does, we're on firmer ground.

If the server returns an "X-Conduit-Capabilities: gzip" header and we have compression support locally, compress subsequent requests.

This restores D21073, which was reverted by D21076.

Test Plan: With a gzip-asserting server, added debugging code and ran various "arc" commands. Saw the 2nd..Nth calls hit compression code.

Maniphest Tasks: T13507

Differential Revision: https://secure.phabricator.com/D21119
2020-04-14 16:50:54 -07:00
..
__tests__ Fully merge "libphutil/" into "arcanist/" 2020-02-12 15:17:38 -08:00
ArcanistConduitCall.php Remove onboard future bulk-resolution from ConduitEngine 2020-04-08 09:24:37 -07:00
ArcanistConduitEngine.php Remove onboard future bulk-resolution from ConduitEngine 2020-04-08 09:24:37 -07:00
ArcanistConduitException.php Collapse Arcanist toolsets from "wilds" into "master", as an overlay layer 2020-02-13 14:10:46 -08:00
ArcanistNoURIConduitException.php Collapse Arcanist toolsets from "wilds" into "master", as an overlay layer 2020-02-13 14:10:46 -08:00
ConduitClient.php If the Conduit server asserts it has the "gzip" capability, compress requests 2020-04-14 16:50:54 -07:00
ConduitClientException.php Fully merge "libphutil/" into "arcanist/" 2020-02-12 15:17:38 -08:00
ConduitFuture.php If the Conduit server asserts it has the "gzip" capability, compress requests 2020-04-14 16:50:54 -07:00
ConduitSearchFuture.php Update "arc paste" for Toolsets 2020-04-13 15:01:51 -07:00
FutureAgent.php Add ref lookup for username symbols 2020-04-12 13:42:51 -07:00