tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: SPDY support
Date Wed, 15 Feb 2012 20:10:11 GMT
On 15/02/2012 19:58, Costin Manolache wrote:
> In spdy I'm using a SpdyFrame class ( spdy allow data frames to be
> fragmented any
> way you want by intermediary - so even if I receive a huge frame, I can
> split it
> in buffer-sized frames  - I believe you can do the same for websocket, as
> long as you
> preserve the message boundaries), and return the real buffer to avoid the
> copy required
> for read(b[]). But of it involves a releaseBuffer().
> Take a look - if/when we have websocket-over-spdy it would be good to be
> consistent.

Unfortunately that isn't guaranteed to be possible. To quote from the spec:

"An intermediary MUST NOT change the fragmentation of any message in the
context of a connection where extensions have been negotiated and the
intermediary is not aware of the semantics of the negotiated extensions."


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

View raw message