You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Masakazu Kitajo (JIRA)" <ji...@apache.org> on 2014/10/14 14:30:34 UTC
[jira] [Commented] (TS-2325) remap.config .include should support
directories
[ https://issues.apache.org/jira/browse/TS-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14170857#comment-14170857 ]
Masakazu Kitajo commented on TS-2325:
-------------------------------------
I chose readdir_r once, but I replaced it with scandir because readdir doesn't guarantee any ordering. How can I get directory entries in typical order?
> remap.config .include should support directories
> ------------------------------------------------
>
> Key: TS-2325
> URL: https://issues.apache.org/jira/browse/TS-2325
> Project: Traffic Server
> Issue Type: Improvement
> Components: Configuration, Core
> Reporter: James Peach
> Fix For: 5.2.0
>
> Attachments: ts2325.diff
>
>
> The remap.config .include directive should support including a directory. The implementation for this would be to simply read all the files in the directory and include each one.
> I don't think the files in the directory should be sorted, since that requires us to read all the names into memory, and there might be a very large number of them. Typical ordering constraints can be expressed using multiple directories.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)