This commit is contained in:
wentch
2015-12-21 15:06:18 +08:00
parent 754974b85f
commit 94b158a976
8 changed files with 56 additions and 41 deletions

View File

@@ -52,7 +52,7 @@ public class SocksConnectServlet extends SocksServlet {
@Override
public void execute(SocksRequest request, SocksResponse response) throws IOException {
response.getContext().submit(new SocksRunner(response.getContext(), response.removeChannel(), bindAddressBytes));
response.getContext().submit(new SocksRunner((SocksContext) response.getContext(), response.removeChannel(), bindAddressBytes));
response.finish(true);
}