You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2015/05/05 06:21:23 UTC
[11/11] trafficserver git commit: clang-format
clang-format
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/cf9d1905
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/cf9d1905
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/cf9d1905
Branch: refs/heads/5.3.x
Commit: cf9d1905409e0d7b9090f73b1c3fac1c86377cf8
Parents: 68913f7
Author: Phil Sorber <so...@apache.org>
Authored: Mon May 4 21:46:02 2015 -0600
Committer: Phil Sorber <so...@apache.org>
Committed: Mon May 4 21:46:02 2015 -0600
----------------------------------------------------------------------
proxy/InkAPITest.cc | 3 +--
proxy/http/HttpSM.cc | 16 ++++++++--------
2 files changed, 9 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/cf9d1905/proxy/InkAPITest.cc
----------------------------------------------------------------------
diff --git a/proxy/InkAPITest.cc b/proxy/InkAPITest.cc
index 6cac306..200759e 100644
--- a/proxy/InkAPITest.cc
+++ b/proxy/InkAPITest.cc
@@ -7206,8 +7206,7 @@ const char *SDK_Overridable_Configs[TS_CONFIG_LAST_ENTRY] = {
"proxy.config.ssl.hsts_max_age", "proxy.config.ssl.hsts_include_subdomains", "proxy.config.http.cache.open_read_retry_time",
"proxy.config.http.cache.max_open_read_retries", "proxy.config.http.cache.range.write",
"proxy.config.http.post.check.content_length.enabled", "proxy.config.http.global_user_agent_header",
- "proxy.config.http.auth_server_session_private"
-};
+ "proxy.config.http.auth_server_session_private"};
REGRESSION_TEST(SDK_API_OVERRIDABLE_CONFIGS)(RegressionTest *test, int /* atype ATS_UNUSED */, int *pstatus)
{
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/cf9d1905/proxy/http/HttpSM.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSM.cc b/proxy/http/HttpSM.cc
index b71db6a..32a8a36 100644
--- a/proxy/http/HttpSM.cc
+++ b/proxy/http/HttpSM.cc
@@ -316,9 +316,9 @@ HttpSM::HttpSM()
enable_redirection(false), redirect_url(NULL), redirect_url_len(0), redirection_tries(0), transfered_bytes(0),
post_failed(false), debug_on(false), plugin_tunnel_type(HTTP_NO_PLUGIN_TUNNEL), plugin_tunnel(NULL), reentrancy_count(0),
history_pos(0), tunnel(), ua_entry(NULL), ua_session(NULL), background_fill(BACKGROUND_FILL_NONE), ua_raw_buffer_reader(NULL),
- server_entry(NULL), server_session(NULL), will_be_private_ss(false), shared_session_retries(0), server_buffer_reader(NULL), transform_info(),
- post_transform_info(), has_active_plugin_agents(false), second_cache_sm(NULL), default_handler(NULL), pending_action(NULL),
- historical_action(NULL), last_action(HttpTransact::SM_ACTION_UNDEFINED),
+ server_entry(NULL), server_session(NULL), will_be_private_ss(false), shared_session_retries(0), server_buffer_reader(NULL),
+ transform_info(), post_transform_info(), has_active_plugin_agents(false), second_cache_sm(NULL), default_handler(NULL),
+ pending_action(NULL), historical_action(NULL), last_action(HttpTransact::SM_ACTION_UNDEFINED),
// TODO: Now that bodies can be empty, should the body counters be set to -1 ? TS-2213
client_request_hdr_bytes(0), client_request_body_bytes(0), server_request_hdr_bytes(0), server_request_body_bytes(0),
server_response_hdr_bytes(0), server_response_body_bytes(0), client_response_hdr_bytes(0), client_response_body_bytes(0),
@@ -4606,11 +4606,11 @@ HttpSM::do_http_server_open(bool raw)
}
if (t_state.method == HTTP_WKSIDX_POST || t_state.method == HTTP_WKSIDX_PUT) {
- // don't share the session if keep-alive for post is not on
- if (t_state.txn_conf->keep_alive_post_out == 0) {
- DebugSM("http_ss", "Setting server session to private because of keep-alive post out");
- will_be_private_ss = true;
- }
+ // don't share the session if keep-alive for post is not on
+ if (t_state.txn_conf->keep_alive_post_out == 0) {
+ DebugSM("http_ss", "Setting server session to private because of keep-alive post out");
+ will_be_private_ss = true;
+ }
}
// If there is already an attached server session mark it as private.