You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by se...@apache.org on 2001/12/17 16:29:38 UTC
cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp_common.c
seguin 01/12/17 07:29:38
Modified: jk/native/common jk_ajp_common.c
Log:
actually send post data beyond the first ~8K to the servlet container.
if a client request contains post data, the first chunk of it is sent to the
container directly after the forward request is sent. if not all of the data
fits in the first chunk, the container will get subsequent chunks by
sending the connector a GET_BODY_CHUNK message. this checkin fixes the
reponse to the GET_BODY_CHUNK message so that the connector will sent the
container more post data.
i believe this also fixes bug 4223.
PR: 4223
Revision Changes Path
1.22 +2 -2 jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c
Index: jk_ajp_common.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- jk_ajp_common.c 2001/12/04 19:44:23 1.21
+++ jk_ajp_common.c 2001/12/17 15:29:38 1.22
@@ -59,7 +59,7 @@
* Description: common stuff for bi-directional protocols ajp13/ajp14. *
* Author: Gal Shachor <sh...@il.ibm.com> *
* Author: Henri Gomez <hg...@slib.fr> *
- * Version: $Revision: 1.21 $ *
+ * Version: $Revision: 1.22 $ *
***************************************************************************/
@@ -942,7 +942,7 @@
}
/* the right place to add file storage for upload */
- if ((len = ajp_read_into_msg_buff(ae, r, msg, len, l)) >= 0) {
+ if ((len = ajp_read_into_msg_buff(ae, r, pmsg, len, l)) >= 0) {
r->content_read += len;
return JK_AJP13_HAS_RESPONSE;
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>