java.nio.BufferOverflowException
at java.base/java.nio.ByteBuffer.put(ByteBuffer.java:1189)
at com.ngrok.net.ConnectionOutputStream.write(ConnectionOutputStream.java:27)
...
Instead of throwing an exception, it should chunk the payload based on the internal buffer size (currently set to 1024 bytes). We should also increase the buffer size to 4k.
Results in the following:
Instead of throwing an exception, it should chunk the payload based on the internal buffer size (currently set to 1024 bytes). We should also increase the buffer size to 4k.