[
https://issues.apache.org/jira/browse/TS-4971?focusedWorklogId=30714&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30714
]
ASF GitHub Bot logged work on TS-4971:
--------------------------------------
Author: ASF GitHub Bot
Created on: 15/Oct/16 15:56
Start Date: 15/Oct/16 15:56
Worklog Time Spent: 10m
Work Description: Github user jpeach commented on a diff in the pull
request:
https://github.com/apache/trafficserver/pull/1110#discussion_r83534541
--- Diff: plugins/esi/esi.cc ---
@@ -1599,12 +1599,9 @@ esiPluginInit(int argc, const char *argv[], struct
OptionInfo *pOptionInfo)
if (argc > 1) {
int c;
static const struct option longopts[] = {
- {const_cast<char *>("packed-node-support"), no_argument, NULL, 'n'},
- {const_cast<char *>("private-response"), no_argument, NULL, 'p'},
- {const_cast<char *>("disable-gzip-output"), no_argument, NULL, 'z'},
- {const_cast<char *>("first-byte-flush"), no_argument, NULL, 'b'},
- {const_cast<char *>("handler-filename"), required_argument, NULL,
'f'},
- {NULL, 0, NULL, 0},
+ {"packed-node-support", no_argument, NULL, 'n'},
{"private-response", no_argument, NULL, 'p'},
+ {"disable-gzip-output", no_argument, NULL, 'z'},
{"first-byte-flush", no_argument, NULL, 'b'},
+ {"handler-filename", required_argument, NULL, 'f'}, {NULL, 0, NULL,
0},
--- End diff --
Solaris
Issue Time Tracking
-------------------
Worklog Id: (was: 30714)
Time Spent: 2h 40m (was: 2.5h)
> Change TSPluginRegistration and TSPluginRegister to take const data
> -------------------------------------------------------------------
>
> Key: TS-4971
> URL: https://issues.apache.org/jira/browse/TS-4971
> Project: Traffic Server
> Issue Type: Improvement
> Components: Plugins
> Reporter: Alan M. Carroll
> Fix For: 7.1.0
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> These should be constant. The fact they are not causes problems and bad
> programming.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)