mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 04:02:21 +08:00
Add unsafe tag to multiplexer writer
This commit is contained in:
parent
5f566b140f
commit
32201cacda
|
@ -217,6 +217,13 @@ func (w *wrapStream) Write(p []byte) (n int, err error) {
|
|||
return
|
||||
}
|
||||
|
||||
func (w *wrapStream) WriteIsThreadUnsafe() {
|
||||
}
|
||||
|
||||
func (w *wrapStream) Upstream() any {
|
||||
return w.Conn
|
||||
}
|
||||
|
||||
func wrapError(err error) error {
|
||||
switch err {
|
||||
case yamux.ErrStreamClosed:
|
||||
|
|
Loading…
Reference in New Issue
Block a user