[socks] Report errors elegantly when credentails are required but missing
authorYen Chi Hsuan <yan12125@gmail.com>
Sat, 22 Apr 2017 13:44:01 +0000 (21:44 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sat, 22 Apr 2017 13:48:41 +0000 (21:48 +0800)
commit54f54fcca7af7e5bbc779cfc73d58d1ed2b4b6ae
tree67a344d3bee45099b1df3cc2b1ef58067d135a04
parentfacfd79f9ad574db7bfcc90cbef01b3a7e7b1262
[socks] Report errors elegantly when credentails are required but missing

In some non-standard implementations, the server may respond AUTH_USER_PASS
even if's not listed in available authentication methods. (it should
respond AUTH_NO_ACCEPTABLE per standards)
ChangeLog
youtube_dl/socks.py