mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
fix error typo for browser forwarder(Sec-Websocket-Protocol)
This commit is contained in:
parent
d7e52c2f65
commit
5ce183c256
@ -57,7 +57,7 @@ func (f *Forwarder) DialWebsocket(url string, header http.Header) (io.ReadWriteC
|
||||
}
|
||||
}
|
||||
if unsupportedHeader {
|
||||
return nil, newError("unsupported header used, only Sec-WebSocket-Protocol is supported for forwarder")
|
||||
return nil, newError("unsupported header used, only Sec-Websocket-Protocol is supported for forwarder")
|
||||
}
|
||||
if !protocolHeader {
|
||||
return f.forwarder.Dial(url)
|
||||
|
Loading…
Reference in New Issue
Block a user