About AJP: could Forward Request packet send together with the post Data packet?

2010-06-07 Thread Weibin Yao
I'm developing a Nginx module of AJP proxy. There is a problem when sending request body. The AJP/1.3 protocol said: "The first *Data* packet is send immediately after the *Forward Request* by the web server." In my module, I send a combined TCP packet with Forward Request packet and Data packet,

Re: svn commit: r952000 - /tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java

2010-06-07 Thread Mark Thomas
On 07/06/2010 05:11, Konstantin Kolinko wrote: > 2010/6/7 : >> Author: markt >> Date: Sun Jun 6 21:50:11 2010 >> New Revision: 952000 >> >> URL: http://svn.apache.org/viewvc?rev=952000&view=rev >> Log: >> Make syncs consistent >> Partial fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=

svn commit: r952212 - in /tomcat/tc7.0.x/tags/TOMCAT_7_0_0_RC4: ./ build.properties.default

2010-06-07 Thread markt
Author: markt Date: Mon Jun 7 13:12:58 2010 New Revision: 952212 URL: http://svn.apache.org/viewvc?rev=952212&view=rev Log: Tagging 7.0.0-RC4 Added: tomcat/tc7.0.x/tags/TOMCAT_7_0_0_RC4/ (props changed) - copied from r952210, tomcat/trunk/ Modified: tomcat/tc7.0.x/tags/TOMCAT_7_0

svn commit: r952230 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/catalina/loader/mbeans-descriptors.xml webapps/docs/changelog.xml

2010-06-07 Thread rjung
Author: rjung Date: Mon Jun 7 14:01:35 2010 New Revision: 952230 URL: http://svn.apache.org/viewvc?rev=952230&view=rev Log: Expose properties of VirtualWebappLoader and WebappClassLoader via JMX. Backport of r936819, r947617 from trunk. Modified: tomcat/tc6.0.x/trunk/STATUS.txt tomcat/t

svn commit: r952233 - in /tomcat/tc6.0.x/trunk: STATUS.txt java/org/apache/catalina/loader/WebappClassLoader.java java/org/apache/catalina/loader/mbeans-descriptors.xml

2010-06-07 Thread rjung
Author: rjung Date: Mon Jun 7 14:07:06 2010 New Revision: 952233 URL: http://svn.apache.org/viewvc?rev=952233&view=rev Log: Add the new contextName property of WebappClassLoader to its toString() and expose as read only via JMX. Backport of r944396 from trunk. Modified: tomcat/tc6.0.x/trunk

svn commit: r952238 - /tomcat/tc5.5.x/trunk/STATUS.txt

2010-06-07 Thread rjung
Author: rjung Date: Mon Jun 7 14:19:36 2010 New Revision: 952238 URL: http://svn.apache.org/viewvc?rev=952238&view=rev Log: Vote. Modified: tomcat/tc5.5.x/trunk/STATUS.txt Modified: tomcat/tc5.5.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc5.5.x/trunk/STATUS.txt?rev=952238

[VOTE] Release Tomcat 7.0.0 based on Tomcat 7.0.0-RC4

2010-06-07 Thread Mark Thomas
All, The next Tomcat 7.0.0 release candiate is ready for testing. 7.0.0-RC4 can be obtained from: http://people.apache.org/~markt/dev/tomcat-7/v7.0.0-RC4/ The svn tag is: http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_0_RC4/ Please test this release candidate and provide feedback.

Re: [VOTE] Release Tomcat 7.0.0 based on Tomcat 7.0.0-RC4

2010-06-07 Thread Henri Gomez
> All, > > The next Tomcat 7.0.0 release candiate is ready for testing. 7.0.0-RC4 > can be obtained from: > http://people.apache.org/~markt/dev/tomcat-7/v7.0.0-RC4/ > The svn tag is: > http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_0_RC4/ > The changelog is missing : http://tomcat

svn commit: r952261 - /tomcat/tc6.0.x/trunk/STATUS.txt

2010-06-07 Thread markt
Author: markt Date: Mon Jun 7 15:06:19 2010 New Revision: 952261 URL: http://svn.apache.org/viewvc?rev=952261&view=rev Log: Further revisions to the patch Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/tr

Re: [VOTE] Release Tomcat 7.0.0 based on Tomcat 7.0.0-RC4

2010-06-07 Thread Mark Thomas
On 07/06/2010 15:51, Henri Gomez wrote: >> All, >> >> The next Tomcat 7.0.0 release candiate is ready for testing. 7.0.0-RC4 >> can be obtained from: >> http://people.apache.org/~markt/dev/tomcat-7/v7.0.0-RC4/ >> The svn tag is: >> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_0_RC

Re: [VOTE] Release Tomcat 7.0.0 based on Tomcat 7.0.0-RC4

2010-06-07 Thread Henri Gomez
>> The changelog is missing : >> >> http://tomcat.apache.org/tomcat-7.0-doc/changelog.html > > Yep. It hasn't been uploaded yet as we haven't had an official release. > > That link will work once there is a 7.0.x release. No changelog for rc1->rc2->rc3->rc4 updates/changes ? -

Re: [VOTE] Release Tomcat 7.0.0 based on Tomcat 7.0.0-RC4

2010-06-07 Thread Mark Thomas
On 07/06/2010 16:12, Henri Gomez wrote: >>> The changelog is missing : >>> >>> http://tomcat.apache.org/tomcat-7.0-doc/changelog.html >> >> Yep. It hasn't been uploaded yet as we haven't had an official release. >> >> That link will work once there is a 7.0.x release. > > No changelog for rc1->rc2

DO NOT REPLY [Bug 49398] New: ByteChunk.indexOf(String, ...) behaviour with strings of length 1

2010-06-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49398 Summary: ByteChunk.indexOf(String, ...) behaviour with strings of length 1 Product: Tomcat 6 Version: 6.0.26 Platform: PC OS/Version: Windows XP Status: NEW

svn commit: r952275 - in /tomcat/tc6.0.x/trunk: ./ STATUS.txt java/org/apache/tomcat/util/buf/ByteChunk.java webapps/docs/changelog.xml

2010-06-07 Thread kkolinko
Author: kkolinko Date: Mon Jun 7 15:34:12 2010 New Revision: 952275 URL: http://svn.apache.org/viewvc?rev=952275&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49398 Fixes behaviour of ByteChunk.indexOf(String..) when the string argument is of length 1. It is backport of r

svn commit: r952276 - in /tomcat/tc5.5.x/trunk: STATUS.txt connectors/util/java/org/apache/tomcat/util/buf/ByteChunk.java container/webapps/docs/changelog.xml

2010-06-07 Thread kkolinko
Author: kkolinko Date: Mon Jun 7 15:41:40 2010 New Revision: 952276 URL: http://svn.apache.org/viewvc?rev=952276&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49398 Fixes behaviour of ByteChunk.indexOf(String..) when the string argument is of length 1. Modified: tomca

DO NOT REPLY [Bug 49398] ByteChunk.indexOf(String, ...) behaviour with strings of length 1

2010-06-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49398 Konstantin Kolinko changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

svn commit: r952295 - /tomcat/trunk/java/org/apache/catalina/core/StandardEngine.java

2010-06-07 Thread markt
Author: markt Date: Mon Jun 7 16:03:38 2010 New Revision: 952295 URL: http://svn.apache.org/viewvc?rev=952295&view=rev Log: Remove unnecessary comment Modified: tomcat/trunk/java/org/apache/catalina/core/StandardEngine.java Modified: tomcat/trunk/java/org/apache/catalina/core/StandardEngine

DO NOT REPLY [Bug 48843] Tomcat Acceptor Thread goes into wait() and it will never come back

2010-06-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48843 --- Comment #10 from Konstantin Kolinko 2010-06-07 12:20:24 EDT --- Regarding AprEndpoint.Poller, AprEndpoint.Sendfile fix (comment 8 and below, r950851 and attachment 25529): It is not a deadlock there. It is a missed wakeup in add queue

svn commit: r952319 - in /tomcat: tc5.5.x/trunk/STATUS.txt tc6.0.x/trunk/STATUS.txt

2010-06-07 Thread kkolinko
Author: kkolinko Date: Mon Jun 7 16:24:35 2010 New Revision: 952319 URL: http://svn.apache.org/viewvc?rev=952319&view=rev Log: Correct description of a proposal Modified: tomcat/tc5.5.x/trunk/STATUS.txt tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc5.5.x/trunk/STATUS.txt URL: http

svn commit: r952325 - /tomcat/tc6.0.x/trunk/STATUS.txt

2010-06-07 Thread markt
Author: markt Date: Mon Jun 7 16:37:47 2010 New Revision: 952325 URL: http://svn.apache.org/viewvc?rev=952325&view=rev Log: Update AccessLog proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/S

Re: svn commit: r951992 - in /tomcat/trunk/java/org/apache/catalina/ha: authenticator/ClusterSingleSignOn.java authenticator/ClusterSingleSignOnListener.java session/ClusterSessionListener.java

2010-06-07 Thread sebb
On 06/06/2010, ma...@apache.org wrote: > Author: markt > Date: Sun Jun 6 21:31:20 2010 > New Revision: 951992 > > URL: http://svn.apache.org/viewvc?rev=951992&view=rev > Log: > Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49376 > Correct package names in info properties > > Modif

DO NOT REPLY [Bug 49395] manager.findLeaks : display the date when the leaking context was started

2010-06-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49395 --- Comment #4 from sylvain.laur...@gmail.com 2010-06-07 17:25:05 EDT --- Konstantin, your use cases are what I had in mind. Most notably, it's interesting to know whether the leaking context is the first one that was deployed or subsequent

DO NOT REPLY [Bug 49395] manager.findLeaks : display the date when the leaking context was started

2010-06-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49395 --- Comment #5 from sylvain.laur...@gmail.com 2010-06-07 17:39:45 EDT --- Regarding JMX, jconsole cannot display the array of ContextLeakInfo because it does not have the class locally. Is it that important ? Otherwise we could return an ar

svn commit: r952467 - in /tomcat/trunk/java/org/apache/catalina: authenticator/SingleSignOn.java ha/authenticator/ClusterSingleSignOn.java session/JDBCStore.java session/StoreBase.java valves/JDBCAcce

2010-06-07 Thread kkolinko
Author: kkolinko Date: Mon Jun 7 22:38:15 2010 New Revision: 952467 URL: http://svn.apache.org/viewvc?rev=952467&view=rev Log: Make constants final. Modified: tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOn.java tomcat/trunk/java/org/apache/catalina/ha/authenticator/Clu

Re: svn commit: r951992 - in /tomcat/trunk/java/org/apache/catalina/ha: authenticator/ClusterSingleSignOn.java authenticator/ClusterSingleSignOnListener.java session/ClusterSessionListener.java

2010-06-07 Thread Konstantin Kolinko
2010/6/7 sebb : > On 06/06/2010, ma...@apache.org wrote: >> Author: markt >>  Date: Sun Jun  6 21:31:20 2010 >>  New Revision: 951992 >> >>  URL: http://svn.apache.org/viewvc?rev=951992&view=rev >>  Log: >>  Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49376 >>  Correct package names in

svn commit: r952475 - in /tomcat/trunk/java/org/apache/catalina: core/StandardPipeline.java realm/MemoryRealm.java realm/UserDatabaseRealm.java

2010-06-07 Thread kkolinko
Author: kkolinko Date: Mon Jun 7 23:00:05 2010 New Revision: 952475 URL: http://svn.apache.org/viewvc?rev=952475&view=rev Log: Make 'info' fields in these classes static and final, like in other places in Tomcat. Modified: tomcat/trunk/java/org/apache/catalina/core/StandardPipeline.java

svn commit: r952478 - /tomcat/trunk/build.xml

2010-06-07 Thread kkolinko
Author: kkolinko Date: Mon Jun 7 23:04:25 2010 New Revision: 952478 URL: http://svn.apache.org/viewvc?rev=952478&view=rev Log: Do not evaluate the "execute.installer" property, because it is never used in this build file: "skip.installer" is used instead. Modified: tomcat/trunk/build.xml Mo

svn commit: r952481 - /tomcat/tc6.0.x/trunk/webapps/docs/security-manager-howto.xml

2010-06-07 Thread kkolinko
Author: kkolinko Date: Mon Jun 7 23:18:08 2010 New Revision: 952481 URL: http://svn.apache.org/viewvc?rev=952481&view=rev Log: Remove unneeded phrase from a comment. It should be evident that someone should unwrap the line. Modified: tomcat/tc6.0.x/trunk/webapps/docs/security-manager-howto.

svn commit: r952482 - /tomcat/tc6.0.x/trunk/STATUS.txt

2010-06-07 Thread kkolinko
Author: kkolinko Date: Mon Jun 7 23:23:18 2010 New Revision: 952482 URL: http://svn.apache.org/viewvc?rev=952482&view=rev Log: update and proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STAT

svn commit: r952483 - in /tomcat/trunk: conf/catalina.policy webapps/docs/security-manager-howto.xml

2010-06-07 Thread kkolinko
Author: kkolinko Date: Mon Jun 7 23:26:38 2010 New Revision: 952483 URL: http://svn.apache.org/viewvc?rev=952483&view=rev Log: Remove unneeded phrase from a comment. It should be evident that someone should unwrap the line. Modified: tomcat/trunk/conf/catalina.policy tomcat/trunk/webapp

svn commit: r952487 - /tomcat/tc5.5.x/trunk/container/catalina/src/bin/

2010-06-07 Thread kkolinko
Author: kkolinko Date: Mon Jun 7 23:42:24 2010 New Revision: 952487 URL: http://svn.apache.org/viewvc?rev=952487&view=rev Log: CTR: add ASL license comment to the *.bat files Modified: tomcat/tc5.5.x/trunk/container/catalina/src/bin/catalina.bat tomcat/tc5.5.x/trunk/container/catalina/sr

svn commit: r952492 - /tomcat/tc5.5.x/trunk/container/catalina/src/bin/

2010-06-07 Thread kkolinko
Author: kkolinko Date: Mon Jun 7 23:54:51 2010 New Revision: 952492 URL: http://svn.apache.org/viewvc?rev=952492&view=rev Log: CTR: add ASL license comment to the *.sh files and to a *.properties file Modified: tomcat/tc5.5.x/trunk/container/catalina/src/bin/catalina.sh tomcat/tc5.5.x/tr