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

Leif Hedstrom commented on TS-3475:
-----------------------------------

1. Cool, yeah, so just don't initialize the client_settings then?

2. Note that the static members in the Http2 class is just C++ sugar syntax. 
They are really "globals", just like any other configuration variables that we 
use for all other configs. But it sounds like the concern is that we shouldn't 
use / compare to the new globals, which merely mimics the old const values. So 
if that's not the case, then there must have been a bug in the code before, no? 
I simply replaced all the const's with the new variables.

The initialization is necessary since the class allocator is holding the 
defaults *before* RecordsConfig.cc is loaded.

> Add configuration knobs for HTTP/2
> ----------------------------------
>
>                 Key: TS-3475
>                 URL: https://issues.apache.org/jira/browse/TS-3475
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: HTTP/2
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 6.0.0
>
>         Attachments: TS-3475.diff
>
>
> We currently have the following SPDY configs, we should have at least the 
> same ones for HTTP/2:
> {code}
>   {RECT_CONFIG, "proxy.config.spdy.max_concurrent_streams_in", RECD_INT, 
> "100", RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
>   {RECT_CONFIG, "proxy.config.spdy.no_activity_timeout_in", RECD_INT, "115", 
> RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
>   {RECT_CONFIG, "proxy.config.spdy.initial_window_size_in", RECD_INT, 
> "1048576", RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
>   {RECT_CONFIG, "proxy.config.spdy.accept_no_activity_timeout", RECD_INT, 
> "120", RECU_DYNAMIC, RR_NULL, RECC_STR, "^[0-9]+$", RECA_NULL}
> {code}



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

Reply via email to