You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2011/01/02 18:52:45 UTC
[jira] Created: (TS-610) New APIs for overridable configurations
New APIs for overridable configurations
---------------------------------------
Key: TS-610
URL: https://issues.apache.org/jira/browse/TS-610
Project: Traffic Server
Issue Type: Improvement
Components: Documentation
Reporter: Leif Hedstrom
Fix For: 3.0
The following new APIs have been added to override a select set of records.config configurations per transaction:
tsapi TSReturnCode TSHttpTxnConfigIntSet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtInt value);
tsapi TSReturnCode TSHttpTxnConfigIntGet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtInt* value);
tsapi TSReturnCode TSHttpTxnConfigFloatSet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtFloat value);
tsapi TSReturnCode TSHttpTxnConfigFloatGet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtFloat* value);
tsapi TSReturnCode TSHttpTxnConfigStringSet(TSHttpTxn txnp, TSOverridableConfigKey conf, const char* value, int length);
tsapi TSReturnCode TSHttpTxnConfigStringGet(TSHttpTxn txnp, TSOverridableConfigKey conf, const char** value, int* length);
tsapi TSReturnCode TSHttpTxnConfigFind(const char* name, int length, TSOverridableConfigKey* conf, TSRecordDataType* type);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TS-610) New APIs for overridable configurations
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976962#action_12976962 ]
Leif Hedstrom commented on TS-610:
----------------------------------
Finally, the three @ configurations that used to be available in remap.config is no longer supported. Instead, users should use the new conf_remap plugin (that is part of the core), e.g.
map http://www.example.com/ http;//real.example.com/ @plugin=conf_remap.so @pparam=/some/path/example.conf
Where example.conf has the same format as records.config, but only supports the configurations listed above.
> New APIs for overridable configurations
> ---------------------------------------
>
> Key: TS-610
> URL: https://issues.apache.org/jira/browse/TS-610
> Project: Traffic Server
> Issue Type: Improvement
> Components: Documentation
> Reporter: Leif Hedstrom
> Fix For: 3.0
>
>
> The following new APIs have been added to override a select set of records.config configurations per transaction:
> tsapi TSReturnCode TSHttpTxnConfigIntSet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtInt value);
> tsapi TSReturnCode TSHttpTxnConfigIntGet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtInt* value);
> tsapi TSReturnCode TSHttpTxnConfigFloatSet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtFloat value);
> tsapi TSReturnCode TSHttpTxnConfigFloatGet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtFloat* value);
> tsapi TSReturnCode TSHttpTxnConfigStringSet(TSHttpTxn txnp, TSOverridableConfigKey conf, const char* value, int length);
> tsapi TSReturnCode TSHttpTxnConfigStringGet(TSHttpTxn txnp, TSOverridableConfigKey conf, const char** value, int* length);
> tsapi TSReturnCode TSHttpTxnConfigFind(const char* name, int length, TSOverridableConfigKey* conf, TSRecordDataType* type);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TS-610) New APIs for overridable configurations
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12976960#action_12976960 ]
Leif Hedstrom commented on TS-610:
----------------------------------
The following configurations are now overridable:
proxy.config.url_remap.pristine_host_hdr
proxy.config.http.chunking_enabled
proxy.config.http.negative_caching_enabled
proxy.config.http.negative_caching_lifetime
proxy.config.http.cache.when_to_revalidate
proxy.config.http.keep_alive_enabled
proxy.config.http.keep_alive_post_out
proxy.config.net.sock_recv_buffer_size_out
proxy.config.net.sock_send_buffer_size_out
proxy.config.net.sock_option_flag_out
proxy.config.http.anonymize_remove_from
proxy.config.http.anonymize_remove_referer
proxy.config.http.anonymize_remove_user_agent
proxy.config.http.anonymize_remove_cookie
proxy.config.http.anonymize_remove_client_ip
proxy.config.http.anonymize_insert_client_ip
proxy.config.http.append_xforwards_header
proxy.config.http.response_server_enabled
proxy.config.http.insert_squid_x_forwarded_for
proxy.config.http.send_http11_requests
proxy.config.http.cache.http
proxy.config.http.cache.ignore_client_no_cache
proxy.config.http.cache.ignore_client_cc_max_age
proxy.config.http.cache.ims_on_client_no_cache
proxy.config.http.cache.ignore_server_no_cache
proxy.config.http.cache.cache_responses_to_cookies
proxy.config.http.cache.ignore_authentication
proxy.config.http.cache.cache_urls_that_look_dynamic
proxy.config.http.cache.required_headers
proxy.config.http.insert_request_via_str
proxy.config.http.insert_response_via_str
proxy.config.http.cache.heuristic_min_lifetime
proxy.config.http.cache.heuristic_max_lifetime
proxy.config.http.cache.guaranteed_min_lifetime
proxy.config.http.cache.guaranteed_max_lifetime
proxy.config.http.cache.max_stale_age
proxy.config.http.keep_alive_no_activity_timeout_in
proxy.config.http.transaction_no_activity_timeout_in
proxy.config.http.transaction_no_activity_timeout_out
proxy.config.http.transaction_active_timeout_out
proxy.config.http.origin_max_connections
proxy.config.http.connect_attempts_max_retries
proxy.config.http.connect_attempts_max_retries_dead_server
proxy.config.http.connect_attempts_rr_retries
proxy.config.http.connect_attempts_timeout
proxy.config.http.post_connect_attempts_timeout
proxy.config.http.down_server.cache_time
proxy.config.http.down_server.abort_threshold
proxy.config.http.cache.fuzz.time
proxy.config.http.cache.fuzz.min_time
proxy.config.http.response_server_str
proxy.config.http.cache.heuristic_lm_factor
proxy.config.http.cache.fuzz.probability
> New APIs for overridable configurations
> ---------------------------------------
>
> Key: TS-610
> URL: https://issues.apache.org/jira/browse/TS-610
> Project: Traffic Server
> Issue Type: Improvement
> Components: Documentation
> Reporter: Leif Hedstrom
> Fix For: 3.0
>
>
> The following new APIs have been added to override a select set of records.config configurations per transaction:
> tsapi TSReturnCode TSHttpTxnConfigIntSet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtInt value);
> tsapi TSReturnCode TSHttpTxnConfigIntGet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtInt* value);
> tsapi TSReturnCode TSHttpTxnConfigFloatSet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtFloat value);
> tsapi TSReturnCode TSHttpTxnConfigFloatGet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtFloat* value);
> tsapi TSReturnCode TSHttpTxnConfigStringSet(TSHttpTxn txnp, TSOverridableConfigKey conf, const char* value, int length);
> tsapi TSReturnCode TSHttpTxnConfigStringGet(TSHttpTxn txnp, TSOverridableConfigKey conf, const char** value, int* length);
> tsapi TSReturnCode TSHttpTxnConfigFind(const char* name, int length, TSOverridableConfigKey* conf, TSRecordDataType* type);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TS-610) New APIs for overridable configurations
Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TS-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988949#comment-12988949 ]
Leif Hedstrom commented on TS-610:
----------------------------------
I've added these two configs to also overridable per transaction:
proxy.config.http.cache.max_open_read_retries
proxy.config.http.cache.open_read_retry_time
> New APIs for overridable configurations
> ---------------------------------------
>
> Key: TS-610
> URL: https://issues.apache.org/jira/browse/TS-610
> Project: Traffic Server
> Issue Type: Improvement
> Components: Documentation
> Reporter: Leif Hedstrom
> Fix For: 3.0
>
>
> The following new APIs have been added to override a select set of records.config configurations per transaction:
> tsapi TSReturnCode TSHttpTxnConfigIntSet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtInt value);
> tsapi TSReturnCode TSHttpTxnConfigIntGet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtInt* value);
> tsapi TSReturnCode TSHttpTxnConfigFloatSet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtFloat value);
> tsapi TSReturnCode TSHttpTxnConfigFloatGet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtFloat* value);
> tsapi TSReturnCode TSHttpTxnConfigStringSet(TSHttpTxn txnp, TSOverridableConfigKey conf, const char* value, int length);
> tsapi TSReturnCode TSHttpTxnConfigStringGet(TSHttpTxn txnp, TSOverridableConfigKey conf, const char** value, int* length);
> tsapi TSReturnCode TSHttpTxnConfigFind(const char* name, int length, TSOverridableConfigKey* conf, TSRecordDataType* type);
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira