mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Merge branch 'main' into dev
This commit is contained in:
@@ -409,7 +409,6 @@ func expectLeftMostResult(t tLogger, c net.Conn, re *regexp.Regexp, buf *[]byte)
|
||||
}
|
||||
*buf = append(*buf, recv()...)
|
||||
} else {
|
||||
emptyCnt = 0
|
||||
cutIdx := strings.Index(string(*buf), string(result)) + len(result)
|
||||
*buf = (*buf)[cutIdx:]
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user