Author: mmillson
Date: 2008-09-11 13:02:55 -0400 (Thu, 11 Sep 2008)
New Revision: 777
Modified:
branches/JBOSSWEB_2_0_0_GA_CP05_JBPAPP-1173/src/share/classes/org/apache/coyote/ajp/AjpAprProcessor.java
branches/JBOSSWEB_2_0_0_GA_CP05_JBPAPP-1173/src/share/classes/org/apache/coyote/ajp/AjpProcessor.java
Log:
Fix for [JBPAPP-1173].
Modified:
branches/JBOSSWEB_2_0_0_GA_CP05_JBPAPP-1173/src/share/classes/org/apache/coyote/ajp/AjpAprProcessor.java
===================================================================
---
branches/JBOSSWEB_2_0_0_GA_CP05_JBPAPP-1173/src/share/classes/org/apache/coyote/ajp/AjpAprProcessor.java 2008-09-10
18:44:39 UTC (rev 776)
+++
branches/JBOSSWEB_2_0_0_GA_CP05_JBPAPP-1173/src/share/classes/org/apache/coyote/ajp/AjpAprProcessor.java 2008-09-11
17:02:55 UTC (rev 777)
@@ -990,6 +990,14 @@
outputBuffer.put(endMessageArray);
flush();
+ // read remaining data from the special first-body-chunk
+ if (first && request.getContentLength() > 0) {
+ try {
+ receive();
+ } catch (IOException e) {
+ }
+ }
+
}
Modified:
branches/JBOSSWEB_2_0_0_GA_CP05_JBPAPP-1173/src/share/classes/org/apache/coyote/ajp/AjpProcessor.java
===================================================================
---
branches/JBOSSWEB_2_0_0_GA_CP05_JBPAPP-1173/src/share/classes/org/apache/coyote/ajp/AjpProcessor.java 2008-09-10
18:44:39 UTC (rev 776)
+++
branches/JBOSSWEB_2_0_0_GA_CP05_JBPAPP-1173/src/share/classes/org/apache/coyote/ajp/AjpProcessor.java 2008-09-11
17:02:55 UTC (rev 777)
@@ -992,6 +992,15 @@
// Add the end message
output.write(endMessageArray);
+
+ // read remaining data from the special first-body-chunk
+ if (first && request.getContentLength() > 0) {
+ try {
+ receive();
+ } catch (IOException e) {
+ }
+ }
+
}