trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject svn commit: r1232499 - /trafficserver/traffic/trunk/proxy/hdrs/HTTP.cc
Date Tue, 17 Jan 2012 17:28:07 GMT
Author: zwoop
Date: Tue Jan 17 17:28:07 2012
New Revision: 1232499

URL: http://svn.apache.org/viewvc?rev=1232499&view=rev
Log:
TS-998 Make this new feature optional until we can figure out some less expensive alternative

Modified:
    trafficserver/traffic/trunk/proxy/hdrs/HTTP.cc

Modified: trafficserver/traffic/trunk/proxy/hdrs/HTTP.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/hdrs/HTTP.cc?rev=1232499&r1=1232498&r2=1232499&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/hdrs/HTTP.cc (original)
+++ trafficserver/traffic/trunk/proxy/hdrs/HTTP.cc Tue Jan 17 17:28:07 2012
@@ -913,10 +913,12 @@ http_parser_parse_req(HTTPParser *parser
     cur = line_start;
     must_copy_strings = (must_copy_strings || (!line_is_real));
 
+#if ENABLE_SAVE_ORIGINAL_REQUEST
     mime_str_u16_set(heap, line_start, strlen(line_start),
                      &(hh->u.req.m_url_impl->the_request),
                      &(hh->u.req.m_url_impl->the_request_len),
                      must_copy_strings);
+#endif
 
 #if (ENABLE_PARSER_FAST_PATHS)
     // first try fast path



Mime
View raw message