Re: Does Tomcat8 NIO2 connector support Apache CometEvent?

2016-11-02 Thread Bruce Huang
Rémy Maucherat 於 2016年11月2日 週三 下午5:28寫道: > 2016-11-02 5:19 GMT+01:00 Bruce Huang : > > > Thanks for your suggestion. > > > > I have tested on 8.0.38 release, but it even can't close the comet > > properly. On 8.0.23, after OutputStream.close(), I have to do > event.close() > > to make the END eve

Re: Does Tomcat8 NIO2 connector support Apache CometEvent?

2016-11-02 Thread Rémy Maucherat
2016-11-02 5:19 GMT+01:00 Bruce Huang : > Thanks for your suggestion. > > I have tested on 8.0.38 release, but it even can't close the comet > properly. On 8.0.23, after OutputStream.close(), I have to do event.close() > to make the END event to be fired correctly. > > ServletOutputStream servletO

Re: Does Tomcat8 NIO2 connector support Apache CometEvent?

2016-11-01 Thread Bruce Huang
Mark Thomas 於 2016年11月1日 週二 下午6:06寫道: > On 01/11/2016 09:44, Bruce Huang wrote: > > Hi all, > > > > We have a simple servlet which implements Apache CometEvent for long > > polling connection on tomcat8. It works well when we used > > org.apache.coyote.http11.Http11NioProtocol, however, we have n

Re: Does Tomcat8 NIO2 connector support Apache CometEvent?

2016-11-01 Thread Mark Thomas
On 01/11/2016 09:44, Bruce Huang wrote: > Hi all, > > We have a simple servlet which implements Apache CometEvent for long > polling connection on tomcat8. It works well when we used > org.apache.coyote.http11.Http11NioProtocol, however, we have now changed to > using org.apache.coyote.http11.Http

Does Tomcat8 NIO2 connector support Apache CometEvent?

2016-11-01 Thread Bruce Huang
Hi all, We have a simple servlet which implements Apache CometEvent for long polling connection on tomcat8. It works well when we used org.apache.coyote.http11.Http11NioProtocol, however, we have now changed to using org.apache.coyote.http11.Http11Nio2Protocol and it will not work properly. Tomca