John-Mark Gurney
697bc43284
add UDP support. This hasn't been tested against a real server yet...
6 years ago
John-Mark Gurney
4964c1903e
as write_request handles bytes, just use this instead of to_bytes...
6 years ago
John-Mark Gurney
dacd616ea3
fix issue w/ encoding long fields, use to_bytes instead of .encode..
.encode defaults to utf-8, which will end up being two bytes for
strings >= 128.
6 years ago
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.
6 years ago
nibrag
efd1ff0c86
New starttls implemenation
8 years ago
nibrag
62c80953c4
connector tests with new exceptions
8 years ago
nibrag
88bf32af80
aiohttp connector new api supporting
8 years ago
nibrag
c1ea926119
Added proxy_from_env argument
9 years ago
nibrag
b8c62da7a6
Dropped supporting python 3.4, added supporting aiohttp 2.0, migrate to pytest
9 years ago
nibrag
d7140532d4
Fixed: Dependent on the "aiohttp" must be imported only in aiosocks.connector
10 years ago
nibrag
b86af5d6cf
Fixed aiohttp bug ( #905 )
10 years ago
nibrag
3620dc3746
Raise an error if read fewer bytes than expected
10 years ago
nibrag
e8a2b7cfba
Fix: some socks5 severs expect fully-formed command request
10 years ago
nibrag
d5fc12fe04
Added shortcut function proxy_connector for automatically create connector (socks or http proxy)
10 years ago
nibrag
e3455c7779
Added test cases for SocksConnector
10 years ago
nibrag
94c1683955
Added aiosocks.open_connection (asyncio.open_connection analog)
10 years ago
nibrag
e7892c500c
Added limit param for SocksReader
10 years ago
nibrag
6aa8016ddf
Added functional test cases for SocksConnector
10 years ago
nibrag
4bd34f0dfe
Added fake_socks4_srv and http_srv helpers for tests
10 years ago
nibrag
de5c4f4b13
Use contextmanager for fake_socks_srv
10 years ago
nibrag
8857750bf9
Use fake_coroutine from tests.helpers
10 years ago
nibrag
70937a9617
Separate functional tests and added test case for "negotiate fail"
10 years ago
nibrag
9c39c87689
Added test case to create ssl transport
10 years ago
nibrag
9c0894c045
Use helpers.fake_coroutine. Added test cases for a new way to negitiate with socks server
10 years ago
nibrag
ad0a6d52fd
Added fake_coroutine helper. Use protocol for fake_socks_srv
10 years ago
nibrag
511cf618cd
Added test cases for aiosocks.helpers
10 years ago
nibrag
4512eaac25
Added SSL support and extended test cases for aiosocks.create_connect
10 years ago
nibrag
040571207a
Added test cases for create_connection
10 years ago
nibrag
bf0abf911a
Fixed: python 3.4 compability
10 years ago
nibrag
3c2af6206f
flake8
10 years ago
nibrag
c62faa5354
Added test case for aiohttp SocksConnector
10 years ago
nibrag
fe6f4d16ae
Added test cases for protocols
10 years ago