We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af9ef5c commit b09ee04Copy full SHA for b09ee04
lib/debug/server_cdp.rb
@@ -344,10 +344,10 @@ def send **msg
344
345
def extract_data
346
first_group = @sock.getbyte
347
- fin = first_group & 0b10000000 != 128
348
- raise 'Unsupported' if fin
349
opcode = first_group & 0b00001111
350
raise "Unsupported: #{opcode}" unless opcode == 1
+ fin = first_group & 0b10000000 != 128
+ raise 'Unsupported' if fin
351
352
second_group = @sock.getbyte
353
mask = second_group & 0b10000000 == 128
0 commit comments