1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 18:32:41 +01:00
phorge-phorge/src/applications/conduit
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
..
application Modernize most Conduit console interfaces 2013-07-01 12:36:34 -07:00
call Record Conduit calls in the service profiler 2013-11-04 12:15:48 -08:00
config Route internal conduit calls if other hosts available 2013-05-19 04:16:10 -07:00
controller Replace "web" and "conduit" magic session strings with constants 2014-01-14 13:22:34 -08:00
garbagecollector Complete modularization of the GC daemon 2014-01-15 10:02:31 -08:00
method Truncate Conduit 'clientDescription' so we don't overflow the column 2014-02-25 12:35:03 -08:00
protocol Delete license headers from files 2012-11-05 11:16:51 -08:00
query Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
ssh Prepare to route VCS connections through SSH 2013-10-29 15:32:40 -07:00
storage Explain policy exception rules to users 2013-09-27 08:43:41 -07:00