You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by GOMEZ Henri <hg...@slib.fr> on 2001/10/09 09:40:09 UTC
RE: cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp
_common.c
Good point Marc, if was good on TC 3.3 but not
corrected in JTC...
-
Henri Gomez ___[_]____
EMAIL : hgomez@slib.fr (. .)
PGP KEY : 697ECEDD ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6
>-----Original Message-----
>From: marcsaeg@apache.org [mailto:marcsaeg@apache.org]
>Sent: Tuesday, October 09, 2001 12:28 AM
>To: jakarta-tomcat-connectors-cvs@apache.org
>Subject: cvs commit: jakarta-tomcat-connectors/jk/native/common
>jk_ajp_common.c
>
>
>marcsaeg 01/10/08 15:28:10
>
> Modified: jk/native/common jk_ajp_common.c
> Log:
> POSTed data was not being sent to Tomcat using AJP13. The
>request data was
> being read into op->post, but being written from op->reply!
>Basically, it
> always sent an empty buffer as the posted data.
>
> Revision Changes Path
> 1.14 +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.13
> retrieving revision 1.14
> diff -u -r1.13 -r1.14
> --- jk_ajp_common.c 2001/10/01 20:50:39 1.13
> +++ jk_ajp_common.c 2001/10/08 22:28:09 1.14
> @@ -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.13 $
> *
> + * Version: $Revision: 1.14 $
> *
>
>***************************************************************
>************/
>
>
> @@ -866,7 +866,7 @@
> return JK_FALSE;
> }
> s->content_read = len;
> - if
>(!ajp_connection_tcp_send_message(ae, op->reply, l)) {
> + if
>(!ajp_connection_tcp_send_message(ae, op->post, l)) {
> jk_log(l, JK_LOG_ERROR, "Error
>sending request body\n");
> return JK_FALSE;
> }
>
>
>
>