John-Mark Gurney
6e4b4f4758
add fix for MacOSX returning different IP address from ntop..
import socket
socket.inet_ntop(socket.AF_INET6, socket.inet_pton(socket.AF_INET6, '::111'))
on other OS's like FreeBSD, return ::111 properly, but on MacOSX, returns
::0.0.1.17.
5 years ago
nibrag
efd1ff0c86
New starttls implemenation
7 years ago
nibrag
62c80953c4
connector tests with new exceptions
7 years ago
nibrag
88bf32af80
aiohttp connector new api supporting
7 years ago
nibrag
c1ea926119
Added proxy_from_env argument
8 years ago
nibrag
b8c62da7a6
Dropped supporting python 3.4, added supporting aiohttp 2.0, migrate to pytest
8 years ago
nibrag
d7140532d4
Fixed: Dependent on the "aiohttp" must be imported only in aiosocks.connector
9 years ago
nibrag
b86af5d6cf
Fixed aiohttp bug ( #905 )
9 years ago
nibrag
3620dc3746
Raise an error if read fewer bytes than expected
9 years ago
nibrag
e8a2b7cfba
Fix: some socks5 severs expect fully-formed command request
9 years ago
nibrag
d5fc12fe04
Added shortcut function proxy_connector for automatically create connector (socks or http proxy)
9 years ago
nibrag
e3455c7779
Added test cases for SocksConnector
9 years ago
nibrag
94c1683955
Added aiosocks.open_connection (asyncio.open_connection analog)
9 years ago
nibrag
e7892c500c
Added limit param for SocksReader
9 years ago
nibrag
6aa8016ddf
Added functional test cases for SocksConnector
9 years ago
nibrag
4bd34f0dfe
Added fake_socks4_srv and http_srv helpers for tests
9 years ago
nibrag
de5c4f4b13
Use contextmanager for fake_socks_srv
9 years ago
nibrag
8857750bf9
Use fake_coroutine from tests.helpers
9 years ago
nibrag
70937a9617
Separate functional tests and added test case for "negotiate fail"
9 years ago
nibrag
9c39c87689
Added test case to create ssl transport
9 years ago
nibrag
9c0894c045
Use helpers.fake_coroutine. Added test cases for a new way to negitiate with socks server
9 years ago
nibrag
ad0a6d52fd
Added fake_coroutine helper. Use protocol for fake_socks_srv
9 years ago
nibrag
511cf618cd
Added test cases for aiosocks.helpers
9 years ago
nibrag
4512eaac25
Added SSL support and extended test cases for aiosocks.create_connect
9 years ago
nibrag
040571207a
Added test cases for create_connection
9 years ago
nibrag
bf0abf911a
Fixed: python 3.4 compability
9 years ago
nibrag
3c2af6206f
flake8
9 years ago
nibrag
c62faa5354
Added test case for aiohttp SocksConnector
9 years ago
nibrag
fe6f4d16ae
Added test cases for protocols
9 years ago