1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/conduit/method
epriestley 72a062d802 Truncate Conduit 'clientDescription' so we don't overflow the column
Summary: We store the `arc` commandline in this 255-character column, but it can be more than 255-characters long. If it's huge, truncate it.

Test Plan:
Executed:

  arc list --conduit-uri=http://local.aphront.com:8080/ --conduit-version 6.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Works fine after this patch.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D8327
2014-02-25 12:35:03 -08:00
..
ConduitAPI_conduit_connect_Method.php Truncate Conduit 'clientDescription' so we don't overflow the column 2014-02-25 12:35:03 -08:00
ConduitAPI_conduit_getcertificate_Method.php Move Conduit methods inside applications 2012-12-21 12:21:59 -08:00
ConduitAPI_conduit_ping_Method.php Move Conduit methods inside applications 2012-12-21 12:21:59 -08:00
ConduitAPI_conduit_query_Method.php Adding the Conduit query method. 2013-01-19 16:37:21 -08:00
ConduitAPIMethod.php Add diffusion.querycommits and deprecate diffusion.getcommits 2014-01-27 17:14:21 -08:00