From f896de1ed4cf8688f48362149da8bacec74225c2 Mon Sep 17 00:00:00 2001 From: libingli <872015123@qq.com> Date: Sat, 7 Nov 2015 12:34:28 +0800 Subject: [PATCH 1/4] fix a spelling mistake --- iocore/eventsystem/I_Continuation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iocore/eventsystem/I_Continuation.h b/iocore/eventsystem/I_Continuation.h index a6c4cd70556..ec7c3f014ff 100644 --- a/iocore/eventsystem/I_Continuation.h +++ b/iocore/eventsystem/I_Continuation.h @@ -109,7 +109,7 @@ class Continuation : private force_VFPT_to_top #endif /** - The Contination's lock. + The Continuation's lock. A reference counted pointer to the Continuation's lock. This lock is initialized in the constructor and should not be set From 92741492773008ff0a35e00358d28d4693ae8895 Mon Sep 17 00:00:00 2001 From: libingli <872015123@qq.com> Date: Thu, 10 Dec 2015 21:35:59 +0800 Subject: [PATCH 2/4] Remove the extra semicolon --- proxy/http/HttpClientSession.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/proxy/http/HttpClientSession.h b/proxy/http/HttpClientSession.h index 5c5ae53b56e..1f08ee0f398 100644 --- a/proxy/http/HttpClientSession.h +++ b/proxy/http/HttpClientSession.h @@ -79,23 +79,23 @@ class HttpClientSession : public ProxyClientSession 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 @@ class HttpClientSession : public ProxyClientSession get_server_session() const { return bound_ss; - }; + } // Used for the cache authenticated HTTP content feature HttpServerSession *get_bound_ss(); From ef3645614bd85bfd7d9a55a514bfda8ed8ca041b Mon Sep 17 00:00:00 2001 From: libingli <872015123@qq.com> Date: Thu, 10 Dec 2015 21:35:59 +0800 Subject: [PATCH 3/4] Remove the extra semicolon --- proxy/http/HttpClientSession.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/proxy/http/HttpClientSession.h b/proxy/http/HttpClientSession.h index 5c5ae53b56e..1f08ee0f398 100644 --- a/proxy/http/HttpClientSession.h +++ b/proxy/http/HttpClientSession.h @@ -79,23 +79,23 @@ class HttpClientSession : public ProxyClientSession 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 @@ class HttpClientSession : public ProxyClientSession get_server_session() const { return bound_ss; - }; + } // Used for the cache authenticated HTTP content feature HttpServerSession *get_bound_ss(); From ede71321e5230bb4c841e0f64559d02d38543f23 Mon Sep 17 00:00:00 2001 From: libingli <872015123@qq.com> Date: Sat, 19 Dec 2015 11:14:36 +0800 Subject: [PATCH 4/4] Remove the extra semicolon --- proxy/http/HttpSM.h | 2 +- proxy/http/HttpTransact.cc | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/proxy/http/HttpSM.h b/proxy/http/HttpSM.h index 976489902fd..d5226c1e8d6 100644 --- a/proxy/http/HttpSM.h +++ b/proxy/http/HttpSM.h @@ -249,7 +249,7 @@ class HttpSM : public Continuation get_tunnel() { return &tunnel; - }; + } // Debugging routines to dump the SM history, hdrs void dump_state_on_assert(); diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc index 8c7e5827c39..60b0dfbf687 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;