sttp: ByteBuffer bodies are wrong or fail for direct buffers and for consumed buffers
Fixed · medium · Wrong-result bug
If several code paths call ByteBuffer.array, it throws for direct and read only buffers. For consumed buffers, it returns the whole array behind the buffer, so request or response bodies come out wrong.
Found: ; reported: ; status since: . Reporter: Mike Murunov
Page for this report · Public report · Fix or proposed fix (see status)
@haskiindahouse first fix merged. Can you maybe share how did you find & generate these bugs? Would be interesting to see if this is something we could do longer-term