You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2015/12/23 02:55:46 UTC
trafficserver git commit: Generic: Remove excess semi-colons and
commented out members. This close #388.
Repository: trafficserver
Updated Branches:
refs/heads/master b374294f9 -> 2a0a86c7c
Generic: Remove excess semi-colons and commented out members.
This close #388.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/2a0a86c7
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/2a0a86c7
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/2a0a86c7
Branch: refs/heads/master
Commit: 2a0a86c7c99b729de75bd90cdf6710197f10aab0
Parents: b374294
Author: libingli <87...@qq.com>
Authored: Thu Dec 10 21:35:59 2015 +0800
Committer: Alan M. Carroll <am...@apache.org>
Committed: Tue Dec 22 17:02:21 2015 -0600
----------------------------------------------------------------------
proxy/http/HttpClientSession.h | 10 +++++-----
proxy/http/HttpSM.h | 2 +-
proxy/http/HttpTransact.cc | 4 ----
3 files changed, 6 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2a0a86c7/proxy/http/HttpClientSession.h
----------------------------------------------------------------------
diff --git a/proxy/http/HttpClientSession.h b/proxy/http/HttpClientSession.h
index 5c5ae53..1f08ee0 100644
--- a/proxy/http/HttpClientSession.h
+++ b/proxy/http/HttpClientSession.h
@@ -79,23 +79,23 @@ public:
set_half_close_flag()
{
half_close = true;
- };
+ }
void
clear_half_close_flag()
{
half_close = false;
- };
+ }
bool
get_half_close_flag() const
{
return half_close;
- };
+ }
virtual void release(IOBufferReader *r);
virtual NetVConnection *
get_netvc() const
{
return client_vc;
- };
+ }
virtual void
release_netvc()
{
@@ -107,7 +107,7 @@ public:
get_server_session() const
{
return bound_ss;
- };
+ }
// Used for the cache authenticated HTTP content feature
HttpServerSession *get_bound_ss();
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2a0a86c7/proxy/http/HttpSM.h
----------------------------------------------------------------------
diff --git a/proxy/http/HttpSM.h b/proxy/http/HttpSM.h
index 9764899..d5226c1 100644
--- a/proxy/http/HttpSM.h
+++ b/proxy/http/HttpSM.h
@@ -249,7 +249,7 @@ public:
get_tunnel()
{
return &tunnel;
- };
+ }
// Debugging routines to dump the SM history, hdrs
void dump_state_on_assert();
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2a0a86c7/proxy/http/HttpTransact.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 8c7e582..60b0dfb 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -7299,12 +7299,8 @@ HttpTransact::what_is_document_freshness(State *s, HTTPHdr *client_request, HTTP
{
bool heuristic, do_revalidate = false;
int age_limit;
- // These aren't used.
- // HTTPValCacheControl *cc;
- // const char *cc_val;
int fresh_limit;
ink_time_t current_age, response_date;
- ;
uint32_t cc_mask, cooked_cc_mask;
uint32_t os_specifies_revalidate;