You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2016/08/17 18:32:22 UTC
[jira] [Commented] (TS-4350) Member functions in HTTPHdr should
have const modifiers appropriately
[ https://issues.apache.org/jira/browse/TS-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15425127#comment-15425127 ]
Alan M. Carroll commented on TS-4350:
-------------------------------------
Sounds like a good idea. Can you provide a pull request?
> Member functions in HTTPHdr should have const modifiers appropriately
> ---------------------------------------------------------------------
>
> Key: TS-4350
> URL: https://issues.apache.org/jira/browse/TS-4350
> Project: Traffic Server
> Issue Type: Improvement
> Components: Cleanup
> Reporter: Masakazu Kitajo
> Fix For: 7.0.0
>
>
> Practically, we can't use HTTPHdr and MIMEHdr with {{const}}, because some member function doesn't have {{const}} unreasonably. It leads misunderstanding of API and inappropriate modification.
> We should add {{const}} to the functions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)