• Mikio Hara's avatar
    internal/{socks,sockstest}: new packages · 61147c48
    Mikio Hara authored
    This change factors out the code related to SOCKS protocol version 5
    from the golang/x/net/proxy package and provides new SOCKS-specific
    API to fix the following:
    - inflexbility of forward proxy connection setup; e.g., no support for
      context-based deadline or canceling, no support for dial deadline,
      no support for working with external authentication mechanisms,
    - useless error values for troubleshooting.
    
    The new package socks is supposed to be used by the net/http package
    of standard library and proxy package of golang.org/x/net repository.
    
    Fixes golang/go#11682.
    Updates golang/go#17759.
    Updates golang/go#19354.
    Updates golang/go#19688.
    Fixes golang/go#21333.
    
    Change-Id: I24098ac8522dcbdceb03d534147c5101ec9e7350
    Reviewed-on: https://go-review.googlesource.com/38278
    Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    61147c48
Name
Last commit
Last update
bpf Loading commit data...
context Loading commit data...
dict Loading commit data...
dns/dnsmessage Loading commit data...
html Loading commit data...
http/httpproxy Loading commit data...
http2 Loading commit data...
icmp Loading commit data...
idna Loading commit data...
internal Loading commit data...
ipv4 Loading commit data...
ipv6 Loading commit data...
lex/httplex Loading commit data...
lif Loading commit data...
nettest Loading commit data...
netutil Loading commit data...
proxy Loading commit data...
publicsuffix Loading commit data...
route Loading commit data...
trace Loading commit data...
webdav Loading commit data...
websocket Loading commit data...
xsrftoken Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
codereview.cfg Loading commit data...