ProxyBroker icon indicating copy to clipboard operation
ProxyBroker copied to clipboard

still integrating with aiohttp?

Open myme5261314 opened this issue 8 years ago • 3 comments

I have scratch through the code and find the aiohttp is only used in resolver.py, judge.py and providers.py among the library.

And I'm curious the progress of replacing the Server.serve portion from socket to http/https via aiohttp? Is it aiohttp doesn't support socks that prevent you to use low-level api rather than high-level api?

myme5261314 avatar Jul 08 '16 08:07 myme5261314

Thank you for your question and attention to the project! Actually, the decision on the final implementation of the serve function is pending. Possible in the future the serve function will be implemented by using aiohttp, it is also possible that the whole project will be refactored with raw sockets instead of aiohttp (not sure if it makes sense?). And yes, aiohttp doesn't support SOCKS, so serve function implemented using low-level api.

constverum avatar Jul 10 '16 09:07 constverum

You might also look at PySocks for this if you haven't already. It works well in other projects of mine.

Shellcat-Zero avatar Mar 01 '17 04:03 Shellcat-Zero

Probably more relevant, there is aiosocks now for handling SOCKS.

Shellcat-Zero avatar Mar 04 '17 05:03 Shellcat-Zero