Re: svn commit: r1791134 - in /tomcat/trunk: java/org/apache/coyote/Response.java webapps/docs/changelog.xml

2017-04-12 Thread Violeta Georgieva
2017-04-12 18:36 GMT+03:00 Mark Thomas :
>
> On 12/04/17 16:34, violet...@apache.org wrote:
> > Author: violetagg
> > Date: Wed Apr 12 15:34:26 2017
> > New Revision: 1791134
> >
> > URL: http://svn.apache.org/viewvc?rev=1791134&view=rev
> > Log:
> > When there is no javax.servlet.WriteListener registered then a call to
javax.servlet.ServletOutputStream#isReady will return 'false' instead of
throwing IllegalStateException.
>
> What about the ReadListener?

done

>
> Mark
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>


Re: svn commit: r1791134 - in /tomcat/trunk: java/org/apache/coyote/Response.java webapps/docs/changelog.xml

2017-04-12 Thread Violeta Georgieva
2017-04-12 18:36 GMT+03:00 Mark Thomas :
>
> On 12/04/17 16:34, violet...@apache.org wrote:
> > Author: violetagg
> > Date: Wed Apr 12 15:34:26 2017
> > New Revision: 1791134
> >
> > URL: http://svn.apache.org/viewvc?rev=1791134&view=rev
> > Log:
> > When there is no javax.servlet.WriteListener registered then a call to
javax.servlet.ServletOutputStream#isReady will return 'false' instead of
throwing IllegalStateException.
>
> What about the ReadListener?
>

give me a moment to check

"
boolean isReady(). The isReady method returns true if data can be read
without blocking. If no data can be read without blocking it returns false.
If isReady returns false it is illegal to call the read method and an
IllegalStateException MUST be thrown.
"

> Mark
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>


Re: svn commit: r1791134 - in /tomcat/trunk: java/org/apache/coyote/Response.java webapps/docs/changelog.xml

2017-04-12 Thread Mark Thomas
On 12/04/17 16:34, violet...@apache.org wrote:
> Author: violetagg
> Date: Wed Apr 12 15:34:26 2017
> New Revision: 1791134
> 
> URL: http://svn.apache.org/viewvc?rev=1791134&view=rev
> Log:
> When there is no javax.servlet.WriteListener registered then a call to 
> javax.servlet.ServletOutputStream#isReady will return 'false' instead of 
> throwing IllegalStateException.

What about the ReadListener?

Mark


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org