Skip to content

Commit c640c57

Browse files
author
Stephane Landelle
committed
Revive previous maxAge default value -1
1 parent 9e7fb38 commit c640c57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ning/org/jboss/netty/handler/codec/http/CookieDecoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public static Set<Cookie> decode(String header) {
113113
String commentURL = null;
114114
String domain = null;
115115
String path = null;
116-
int maxAge = Integer.MIN_VALUE;
116+
int maxAge = -1;
117117
List<Integer> ports = Collections.emptyList();
118118

119119
for (int j = i + 1; j < names.size(); j++, i++) {

0 commit comments

Comments
 (0)