On Thu, 26 Sep 2013 11:35:57 -0300, Jaroslav Ciml <ci...@centrum.cz> wrote:

Hi,

Hi!

I am using Tapestry version 5.3.6.

I tested it on 5.4-alpha-22.

This exception is thrown if I return a StreamResponse instance from an event link handler (i.e. the request URL contains something like :eventname). Everything is OK if I return the same StreamResponse instance from onActivate method.

It also occurs only for "short" responses. The response is sent with Content-Encoding: chunked. The chunks have 0x6000 bytes. If the total byte count returned by StreamResponse.getStream() is less than 0x6000, this exception occurs.
No exception is thrown for 0x6000 bytes or more.

In ImmediateActionRenderResponseFilter.handle, the call response.isCommitted() returns true for "long" response but it returns false for "short" response.

Weird. JIRA please? :)

Well, I tried to paste the event handler to completely different project with the same Tapestry version ...and it works.

Weird. Which other version?

It can be some configuration issue.

Yeah, that's what I was thinking. Different servlet container?

--
Thiago H. de Paula Figueiredo

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

Reply via email to