tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <>
Subject Re: Proposed new CometEvent.notify method
Date Thu, 03 May 2007 17:15:26 GMT
Filip Hanik - Dev Lists wrote:
>> No, I don't agree with reading bytes in the lower layer as it would 
>> swallow problems even more than doing it in the adapter without any 
>> additional benefit (BTW, read cannot return 0). There's also a likely 
>> problem that it would require additional structures to hold that data, 
>> and which are present in the adapter.
> Let's not shut it down quite yet, and move forward, as I think there 
> could be some value behind this.

It's simply I feel CoyoteAdapter.event is a better place to experiment 
with doing a read and is extremely simple (it would call 

> also, why can't read return 0?

It's the contract of this API (which is blocking IO), it's not me ;)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message