Skip to content

Commit

Permalink
Merge pull request #20 from x235/patch-1
Browse files Browse the repository at this point in the history
fixed connection problem when authorization provided
  • Loading branch information
igrigorik committed Nov 13, 2015
2 parents 9b3c22b + c1671ff commit 6cb9538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/em-socksify/socks5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def socks_parse_response
raise SOCKSError, "SOCKS version 5 not supported" unless socks_version == 5
raise SOCKSError, 'access denied by proxy' unless status_code == 0

send_socks_connect_request
socks_send_connect_request

when :connecting
return unless @socks_data.size >= 2
Expand Down

0 comments on commit 6cb9538

Please sign in to comment.