[ 
https://issues.apache.org/jira/browse/TS-2642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182483#comment-15182483
 ] 

ASF GitHub Bot commented on TS-2642:
------------------------------------

GitHub user zwoop opened a pull request:

    https://github.com/apache/trafficserver/pull/517

    TS-2642 Adds a new operator %{NOW} to header_rewrite

    This can be used to make time based decisions, such as denying
    requests prior to a certain date. Or changing QOS settings based
    on time of day.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zwoop/trafficserver TS-2642

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/517.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #517
    
----
commit 170c1955dd796fcce5b231549343a628116e5aec
Author: Leif Hedstrom <[email protected]>
Date:   2016-01-22T19:15:03Z

    TS-2642 Adds a new operator %{NOW} to header_rewrite
    
    This can be used to make time based decisions, such as denying
    requests prior to a certain date. Or changing QOS settings based
    on time of day.

----


> header_rewrite Time based Rules
> -------------------------------
>
>                 Key: TS-2642
>                 URL: https://issues.apache.org/jira/browse/TS-2642
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Performance, Plugins
>            Reporter: Faysal Banna
>            Assignee: Leif Hedstrom
>             Fix For: 6.2.0
>
>
> Hi Guys.
> with the great stuff in header_rewrite plugin there comes an issue which 
> arises. 
> Header rewrite plugin can modify configurable options based upon the 
> condition rules and logic we use inside it. 
> the feature am asking for is to add timing condition for those rules 
> example 
> cond %{time} >1600 [AND]
> cond %{time} <2000 
> cond %{time:day} =6
> ....
> .....
> ....
> .... [L]
> where day<= {0,...6} {Sunday...Saturday}
> for example between 20:00 and 23:59 set these conditional rules 
> other than this timing set other rules 
> that would be handy like for instance during high traffic hours of the day no 
> background fill should be applied 
> during late night and early morning hours full background fill would be 
> applied 
> and during medium traffic hours (16:00<->20:00) set background fill not to 
> exceed 20sec 
> much regards 
> Faysal Banna



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to