mturk 2002/11/20 07:03:19
Modified: jk/native2/jni jk_jni_aprImpl.c
Log:
Fix the POST data.
The reply buffer shuld containg the endpoint's post message.
Revision Changes Path
1.42 +1 -1 jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c
Index: jk_jni_aprImpl.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/jni/jk_jni_aprImpl.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- jk_jni_aprImpl.c 25 Sep 2002 08:02:58 -0000 1.41
+++ jk_jni_aprImpl.c 20 Nov 2002 15:03:18 -0000 1.42
@@ -502,7 +502,7 @@
/* ep->reply->pos, ep->reply->len , ep->reply->buf ); */
ep->reply->end( env, ep->reply );
- (*jniEnv)->SetByteArrayRegion( jniEnv, data, 0, ep->reply->len + 4 ,
(jbyte *)ep->reply->buf );
+ (*jniEnv)->SetByteArrayRegion( jniEnv, data, 0, ep->post->len + 4 ,
(jbyte *)ep->post->buf );
rc=JK_OK;
}
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>