Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Jencks2009-05-15 16:46:28 +0000
committerDavid Jencks2009-05-15 16:46:28 +0000
commit33b4c7b79c7c8e73570823438aa5ee7aa0aed5a4 (patch)
tree702f070259bf633f6ae9a75e1e6002bd040665d9
parent0256dcc2ccf188732e53865da7d0b332b0278154 (diff)
downloadorg.eclipse.jetty.project-33b4c7b79c7c8e73570823438aa5ee7aa0aed5a4.tar.gz
org.eclipse.jetty.project-33b4c7b79c7c8e73570823438aa5ee7aa0aed5a4.tar.xz
org.eclipse.jetty.project-33b4c7b79c7c8e73570823438aa5ee7aa0aed5a4.zip
Bug 276444 when formatting old-style cookie maxAge timeouts, don't wipe out the start of the cookie text
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@217 7e9141cc-0065-0410-87d8-b60c137991c4
-rw-r--r--jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java
index 0ed081cafd..dbfea37463 100644
--- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java
+++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java
@@ -125,7 +125,6 @@ public class HttpFields
*/
public void formatCookieDate(StringBuilder buf, long date)
{
- buf.setLength(0);
gc.setTimeInMillis(date);
int day_of_week = gc.get(Calendar.DAY_OF_WEEK);

Back to the top