Author: markt Date: Tue Sep 2 14:10:51 2014 New Revision: 1622004 URL: http://svn.apache.org/r1622004 Log: Add a warning to the docs for future developers.
Modified: tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java Modified: tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java?rev=1622004&r1=1622003&r2=1622004&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/http/parser/Cookie.java Tue Sep 2 14:10:51 2014 @@ -37,6 +37,12 @@ import org.apache.tomcat.util.res.String * <li>For cookies without a value, the '=' is not required after the name as * some browsers do not sent it.</li> * </ul> + * + * <p>Implementation note:<br/> + * This class has been carefully tuned to ensure that it has equal or better + * performance than the original Netscape/RFC2109 cookie parser. Before + * committing and changes, ensure that the TesterCookiePerformance unit test + * continues to give results within 1% for the old and new parsers.</p> */ public class Cookie { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org