James Coglan
|
ba6c47dd77
|
Extract the Java integer parsing into a helper class.
|
2017-03-26 12:08:49 +01:00 |
|
James Coglan
|
c22c952fb6
|
Rename ReadBuffer to StreamReader to match the Ruby version.
|
2017-03-14 21:59:50 +00:00 |
|
James Coglan
|
f95895f729
|
Check for hitting the max message size and max read buffer capacity without using additions that could overflow.
|
2017-03-07 09:42:23 +00:00 |
|
James Coglan
|
4564736fde
|
Bring close frame handling into line between parser implementations.
|
2017-03-06 21:12:27 +00:00 |
|
James Coglan
|
61fabc7337
|
Integrate hooks for calling valid_frame_rsv? into the native extensions, so that WebSocket extension modules can override RSV validation.
|
2017-03-04 12:31:55 +00:00 |
|
James Coglan
|
33c930be34
|
Check that control frames are smaller than 125, not larger.
|
2017-03-03 22:20:36 +00:00 |
|
James Coglan
|
6706fe31ce
|
In order to correctly serialise the length of long frames, the Frame.length field should be a long and bitshifting should be done with >>>. This necessitates various casts to ints, which is what byte[] sizes are measured in.
|
2017-03-01 18:11:20 +00:00 |
|
James Coglan
|
8e307f3429
|
Create a new Message when the opcode is binary. This was responsible for a NullPointerException when emitting a message.
|
2017-03-01 18:08:35 +00:00 |
|
James Coglan
|
79134ffade
|
Adjust formatting in construction of first byte in Unparser.
|
2017-03-01 09:11:53 +00:00 |
|
James Coglan
|
2d60b40b94
|
Implement Unparser in Java and use the native unparser in native_spec.rb.
|
2017-03-01 00:57:20 +00:00 |
|
James Coglan
|
8a43a2879a
|
Tidy up the JRuby bindings using factory methods for Ruby types.
|
2017-02-27 23:50:51 +00:00 |
|
James Coglan
|
ddcd43995c
|
Port the parser to Java, passing all the unit tests.
|
2017-02-26 22:56:07 +00:00 |
|