This is an automated email from the ASF dual-hosted git repository. rrm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 96c4f99401b5abfc4cd5b54c292a0c562b3cb32a Author: Randall Meyer <r...@apple.com> AuthorDate: Mon Jul 30 13:51:31 2018 -0700 Removes unused prefetch related code This was originally removed in 0f7128b04b4fc277ebda1c91e51b39e35b4217d8 --- iocore/eventsystem/I_Event.h | 1 - proxy/Transform.cc | 6 ------ proxy/TransformInternal.h | 15 --------------- 3 files changed, 22 deletions(-) diff --git a/iocore/eventsystem/I_Event.h b/iocore/eventsystem/I_Event.h index e964636..e039b0a 100644 --- a/iocore/eventsystem/I_Event.h +++ b/iocore/eventsystem/I_Event.h @@ -88,7 +88,6 @@ // define misc events here #define ONE_WAY_TUNNEL_EVENT_PEER_CLOSE (SIMPLE_EVENT_EVENTS_START + 1) -#define PREFETCH_EVENT_SEND_URL (SIMPLE_EVENT_EVENTS_START + 2) typedef int EventType; const int ET_CALL = 0; diff --git a/proxy/Transform.cc b/proxy/Transform.cc index d45d2df..516f8e9 100644 --- a/proxy/Transform.cc +++ b/proxy/Transform.cc @@ -65,9 +65,6 @@ #include "HdrUtils.h" #include "Log.h" -#define ART 1 -#define AGIF 2 - TransformProcessor transformProcessor; /*------------------------------------------------------------------------- @@ -76,9 +73,6 @@ TransformProcessor transformProcessor; void TransformProcessor::start() { -#ifdef PREFETCH - prefetchProcessor.start(); -#endif } /*------------------------------------------------------------------------- diff --git a/proxy/TransformInternal.h b/proxy/TransformInternal.h index 6ba655b..754b241 100644 --- a/proxy/TransformInternal.h +++ b/proxy/TransformInternal.h @@ -24,9 +24,6 @@ #pragma once #include "HttpSM.h" -#include "MIME.h" -#include "Transform.h" -#include "P_EventSystem.h" class TransformVConnection; @@ -116,7 +113,6 @@ public: int content_type_len, int64_t content_length); ~RangeTransform(); - // void parse_range_and_compare(); int handle_event(int event, void *edata); void transform_to_range(); @@ -129,7 +125,6 @@ public: MIOBuffer *m_output_buf; IOBufferReader *m_output_reader; - // MIMEField *m_range_field; HTTPHdr *m_transform_resp; VIO *m_output_vio; int64_t m_range_content_length; @@ -142,13 +137,3 @@ public: int64_t m_output_cl; int64_t m_done; }; - -#ifdef PREFETCH -class PrefetchProcessor -{ -public: - void start(); -}; - -extern PrefetchProcessor prefetchProcessor; -#endif // PREFETCH