Just flagging that this happened out in the wild.
│ e = ArgumentError: invalid value for Enum OpCode: 11
│ stacktrace =
│ 11-element Vector{Base.StackTraces.StackFrame}:
│ enum_argument_error(typename::Symbol, x::UInt8) at Enums.jl:93
│ OpCode at Enums.jl:212 [inlined]
│ getproperty at WebSockets.jl:41 [inlined]
│ readframe(io::HTTP.Connections.Connection{OpenSSL.SSLStream}, ::Type{HTTP.WebSockets.Frame}, buffer::Vector{UInt8}, first_fragment_opcode::HTTP.WebSockets.OpCode) at WebSockets.jl:154
│ readframe(io::HTTP.Connections.Connection{OpenSSL.SSLStream}, ::Type{HTTP.WebSockets.Frame}, buffer::Vector{UInt8}) at WebSockets.jl:128
│ receive(ws::HTTP.WebSockets.WebSocket) at WebSockets.jl:683
│ iterate(ws::HTTP.WebSockets.WebSocket, st::Nothing) at WebSockets.jl:722
│ iterate at WebSockets.jl:720 [inlined]
I have no way to reproduce.
From the spec it appears this should never happen:
I’m using HTTP v1.10.16
.
Anyone has an idea what this could mean? Serverside bug?