未验证 提交 c0b67289 编写于 作者: V Vlad Ilyushchenko 提交者: GitHub

fix(pgwire): incorrect buffer is sent to client when single buffer it...

fix(pgwire): incorrect buffer is sent to client when single buffer it interrupted more than once (#998)
上级 8bafb051
......@@ -1063,7 +1063,7 @@ public class PGConnectionContext implements IOContext, Mutable, WriterSource {
}
if (n < size) {
doSendWithRetries(n, size - n);
doSendWithRetries(offset + n, size - n);
}
sendBufferPtr = sendBuffer;
bufferRemainingSize = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册