You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/03/11 20:54:44 UTC
[jira] [Commented] (TS-2627) reduce management socket code
duplication
[ https://issues.apache.org/jira/browse/TS-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13930845#comment-13930845 ]
ASF subversion and git services commented on TS-2627:
-----------------------------------------------------
Commit 93fb1bbfd6e693c47db148b43197895e6e0bcf32 in trafficserver's branch refs/heads/master from [~jpeach@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=93fb1bb ]
TS-2627: mgmt condense duplicated socket read code
Rather than copy the code to read a fixed amount from a socket,
make a helper function and call it.
> reduce management socket code duplication
> -----------------------------------------
>
> Key: TS-2627
> URL: https://issues.apache.org/jira/browse/TS-2627
> Project: Traffic Server
> Issue Type: Improvement
> Components: Core, Management API
> Reporter: James Peach
> Fix For: 5.0.0
>
>
> The management socket code manages to copy+paste code to read bytes from a socket half a dozen times. Let's make a function.
--
This message was sent by Atlassian JIRA
(v6.2#6252)