aboutsummaryrefslogtreecommitdiff
path: root/plugins/socks.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/socks.lua')
-rw-r--r--plugins/socks.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/socks.lua b/plugins/socks.lua
index 364eb48..ed07eff 100644
--- a/plugins/socks.lua
+++ b/plugins/socks.lua
@@ -38,7 +38,7 @@ function Socks4:on_data (data)
if null == 0 and code >= 90 and code <= 93 then
self.unit:set_success (true)
end
- self.unit:abort ()
+ self.unit:stop ()
end
end
@@ -75,7 +75,7 @@ function Socks5:on_data (data)
end
self.unit:set_success (true)
end
- self.unit:abort ()
+ self.unit:stop ()
end
end