The patch seems valid and the pmsg was passed for this purpose in previous release of J-T-C but some folks (didn't remember who) make modifications in mod_jk part of code and the update was lost.
Seems ok, you could commit :) This patch fix a real problem and should be also propagated to Tomcat 3.3.1 mod_jk .... go go go - Henri Gomez ___[_]____ EMAIL : [EMAIL PROTECTED] (. .) PGP KEY : 697ECEDD ...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 >-----Original Message----- >From: Kevin Seguin [mailto:[EMAIL PROTECTED]] >Sent: Thursday, December 13, 2001 11:20 PM >To: Tomcat-Dev (E-mail) >Subject: [j-t-c] patch for >jakarta-tomcat-connectors/jk/native/common/jk_a jp_common.c > > >this patch fixes a problem when posting with more than about >8K of data. it >seems that when the java side of the ajp connection has to ask >the webserver >(jk) side for more data, it goes into an infinite loop because the next >chunk of data isn't actually sent. > >i'm 97% sure about this patch, but since i don't know this >code as well as >some, i'd like someone else to review it. > >attached is the patch and a servlet (FileUpload.java) and a client >(Upload2.java) that demonstrate the problem. > >the client uses HTTPClient, which can be downloaded from >http://www.innovation.ch/java/HTTPClient/. incidentally, i >would have used >the http client in jakarta-commons, if i could have figured >out how to post >using an output stream :) > >this same test fails on the java side of ajp using the ajp >stuff on the head >in j-t-c/jk. again, an infinite loop. i haven't been able to >figure it out >yet... if somebody wants extra points ... ;) > >thanks, >-kevin. > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>