1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-28 04:55:37 -05:00

fix passive connection in mux. fix #1167

This commit is contained in:
Darien Raymond
2018-06-27 12:21:22 +02:00
parent c9e35bb1ba
commit b05597df3a
8 changed files with 50 additions and 30 deletions

View File

@@ -16,7 +16,7 @@ var ErrReadTimeout = newError("IO timeout")
// TimeoutReader is a reader that returns error if Read() operation takes longer than the given timeout.
type TimeoutReader interface {
ReadTimeout(time.Duration) (MultiBuffer, error)
ReadMultiBufferTimeout(time.Duration) (MultiBuffer, error)
}
// Writer extends io.Writer with MultiBuffer.