chore: document works and code optimizations

This commit is contained in:
nadoo committed 2020-12-02 19:00:39 +08:00
1 parent 142865535e
commit 2db84bb7aa
17 files changed
+43 -54

No files matched your search

+1 -1
View File
@@ -107,5 +107,5 @@ func (s *Obfs) Dial(network, addr string) (net.Conn, error) {
// DialUDP connects to the given address via the proxy.
func (s *Obfs) DialUDP(network, addr string) (net.PacketConn, net.Addr, error) {
return nil, nil, errors.New("obfs client does not support udp now")
return nil, nil, proxy.ErrNotSupported
}