Author: remy.maucherat(a)jboss.com
Date: 2013-07-05 12:33:00 -0400 (Fri, 05 Jul 2013)
New Revision: 2232
Modified:
branches/2.1.x/java/org/apache/coyote/Request.java
branches/7.2.x/src/main/java/org/apache/coyote/Request.java
branches/8.0.x/src/main/java/org/apache/coyote/Request.java
branches/JBOSSWEB_2_0_0_GA_CP/src/share/classes/org/apache/coyote/Request.java
Log:
Fix IPvhosts by recycling localName (should be ok on 2.0 and 2.1 though).
Modified: branches/2.1.x/java/org/apache/coyote/Request.java
===================================================================
--- branches/2.1.x/java/org/apache/coyote/Request.java 2013-07-05 03:45:48 UTC (rev 2231)
+++ branches/2.1.x/java/org/apache/coyote/Request.java 2013-07-05 16:33:00 UTC (rev 2232)
@@ -491,6 +491,7 @@
headers.recycle();
serverNameMB.recycle();
serverPort=-1;
+ localNameMB.recycle();
localPort = -1;
remotePort = -1;
available = 0;
Modified: branches/7.2.x/src/main/java/org/apache/coyote/Request.java
===================================================================
--- branches/7.2.x/src/main/java/org/apache/coyote/Request.java 2013-07-05 03:45:48 UTC
(rev 2231)
+++ branches/7.2.x/src/main/java/org/apache/coyote/Request.java 2013-07-05 16:33:00 UTC
(rev 2232)
@@ -501,6 +501,7 @@
headers.recycle();
serverNameMB.recycle();
serverPort=-1;
+ localNameMB.recycle();
localPort = -1;
remotePort = -1;
available = 0;
Modified: branches/8.0.x/src/main/java/org/apache/coyote/Request.java
===================================================================
--- branches/8.0.x/src/main/java/org/apache/coyote/Request.java 2013-07-05 03:45:48 UTC
(rev 2231)
+++ branches/8.0.x/src/main/java/org/apache/coyote/Request.java 2013-07-05 16:33:00 UTC
(rev 2232)
@@ -501,6 +501,7 @@
headers.recycle();
serverNameMB.recycle();
serverPort=-1;
+ localNameMB.recycle();
localPort = -1;
remotePort = -1;
available = 0;
Modified: branches/JBOSSWEB_2_0_0_GA_CP/src/share/classes/org/apache/coyote/Request.java
===================================================================
---
branches/JBOSSWEB_2_0_0_GA_CP/src/share/classes/org/apache/coyote/Request.java 2013-07-05
03:45:48 UTC (rev 2231)
+++
branches/JBOSSWEB_2_0_0_GA_CP/src/share/classes/org/apache/coyote/Request.java 2013-07-05
16:33:00 UTC (rev 2232)
@@ -482,6 +482,7 @@
headers.recycle();
serverNameMB.recycle();
serverPort=-1;
+ localNameMB.recycle();
localPort = -1;
remotePort = -1;
Show replies by date