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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user