Re: AsyncContext.dispatch(path) invoked more than once

2013-06-04 Thread Mark Thomas
On 04/06/2013 13:55, Violeta Georgieva wrote: > 2013/5/31 Violeta Georgieva wrote: >> Let's put this as plan B for now. >> >> I made a small change in the AsyncContextImpl.doInternalDispatch(). >> >> Can you comment on the patch? >> >> >> Index: C:/tc8.0.x/java/org/apache/catalina/core/AsyncContex

Re: AsyncContext.dispatch(path) invoked more than once

2013-06-04 Thread Violeta Georgieva
2013/5/31 Violeta Georgieva wrote: > > 2013/5/29 Violeta Georgieva wrote: > > > > 2013/5/28 Konstantin Kolinko wrote: > > > > > > > > > I think that your patch is wrong. > > > > > > Looking at how ActionCode.ASYNC_DISPATCH is handled in different > > > connector implementations in Tomcat 7, the cod

Re: AsyncContext.dispatch(path) invoked more than once

2013-05-31 Thread Violeta Georgieva
2013/5/29 Violeta Georgieva wrote: > > 2013/5/28 Konstantin Kolinko wrote: > > > > > > I think that your patch is wrong. > > > > Looking at how ActionCode.ASYNC_DISPATCH is handled in different > > connector implementations in Tomcat 7, the code is like the following: > > > > if (asyncS

Re: AsyncContext.dispatch(path) invoked more than once

2013-05-29 Thread Violeta Georgieva
2013/5/28 Konstantin Kolinko wrote: > > > I think that your patch is wrong. > > Looking at how ActionCode.ASYNC_DISPATCH is handled in different > connector implementations in Tomcat 7, the code is like the following: > > if (asyncStateMachine.asyncDispatch()) { > ((AprE

Re: AsyncContext.dispatch(path) invoked more than once

2013-05-28 Thread Konstantin Kolinko
2013/5/28 Violeta Georgieva : > Hi, > > In the AsyncContext.dispatch(path) javadoc we have: > > "There can be at most one asynchronous dispatch operation per asynchronous > cycle, which is started by a call to one of the > ServletRequest.startAsync()methods. > Any attempt to perform an additional a

Re: AsyncContext.dispatch(path) invoked more than once

2013-05-28 Thread Mark Thomas
On 28/05/2013 19:51, Violeta Georgieva wrote: > Hi, > > In the AsyncContext.dispatch(path) javadoc we have: > > "There can be at most one asynchronous dispatch operation per asynchronous > cycle, which is started by a call to one of the > ServletRequest.startAsync()methods. > Any attempt to perfo

AsyncContext.dispatch(path) invoked more than once

2013-05-28 Thread Violeta Georgieva
Hi, In the AsyncContext.dispatch(path) javadoc we have: "There can be at most one asynchronous dispatch operation per asynchronous cycle, which is started by a call to one of the ServletRequest.startAsync()methods. Any attempt to perform an additional asynchronous dispatch operation within the sa