Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] RST_STREAM Sending


On Wed, Sep 23, 2015 at 2:45 PM, Muhui Jiang <jiangmuhui@xxxxxxxxx> wrote:
> Hi,
> Actually it is my bad. I used the wrong way of callback. So the client may
> close the websocket(you've told me before). Sorry to be so stupid.
> And I have also noticed a very interesting thing. In the onPush function. I
> find that frame.getPromisedStreamId() & stream.getId() is the same. I don't
> think they should be the same, do you think this is a bug or it may be my
> mistake.

It is correct that they are the same.
The stream parameter to onPush() is the pushed stream.

Simone Bordet
Developer advice, training, services and support
from the Jetty & CometD experts.

Back to the top