https://bz.apache.org/bugzilla/show_bug.cgi?id=56026

--- Comment #19 from Mark Thomas <ma...@apache.org> ---
(In reply to Jonathan Leech from comment #18)
> I'll try again here. The current Tomcat implementation of this API throws
> IllegalStateException / TEXT_FULL_WRITING even if the client synchronizes
> access to the methods and / or ensures that the last message was delivered
> (as far as the async API is concerned) before sending the next message.

To clarify, do you mean the call to Async.sendText() has returned or do you
mean that the Future / completion handler has indicated that the sending of the
message is complete?

> Repeatedly saying for 8 years you're following the spec and to take it up
> with the expert group is not helpful. This is a bug. The sync calls
> shouldn't return and the async calls shouldn't represent that the message
> was completed if a subsequent call would result in TEXT_FULL_WRITING.

There are simple ways forward here but which one depends on the answer to the
above question.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to