Hi, On Sun, Sep 27, 2015 at 12:24 PM, Muhui Jiang <[email protected]> wrote: > Hi > > I see. When I set the value of RANGE as “bytes=100-400” it works. But when > the value of range doesn't have such a format. The result goes like what I > mentioned in my first Email. I think it may not be a bug of Jetty. But this > design may not be so good I suggest Jetty can add some restriction to help > the users build range in right format. > > Another thing is about the PING. Here is what I do with ping frame: > > byte[] payload = new byte[8]; > > session.ping(new PingFrame(null, false), Callback.NOOP);
As per specification, the PING payload must be exactly 8 bytes, cannot be null. I have improved PingFrame to offer handy constructors. -- Simone Bordet ---- http://cometd.org http://webtide.com Developer advice, training, services and support from the Jetty & CometD experts. _______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
