equal
deleted
inserted
replaced
52 module:log("debug", "Failed to connect to the SOCKS5 proxy. :("); |
52 module:log("debug", "Failed to connect to the SOCKS5 proxy. :("); |
53 session:close(false); |
53 session:close(false); |
54 return; |
54 return; |
55 end |
55 end |
56 |
56 |
57 module:log("debug", "Succesfully connected to SOCKS5 proxy."); |
57 module:log("debug", "Successfully connected to SOCKS5 proxy."); |
58 |
58 |
59 local response = byte(data, 4); |
59 local response = byte(data, 4); |
60 |
60 |
61 if response == 0x01 then |
61 if response == 0x01 then |
62 if #data < 10 then |
62 if #data < 10 then |