Commit graph

36 commits

Author SHA1 Message Date
coletdjnz
55540caf6b
try this 2024-07-14 12:24:04 +12:00
coletdjnz
a0ca9dc2e4
fix 2024-07-14 12:09:33 +12:00
coletdjnz
4b3fd5f833
what about this? 2024-07-14 12:03:25 +12:00
coletdjnz
6c585b9de8
test 2024-07-14 11:50:17 +12:00
coletdjnz
cdd8e33141
Merge without githooks 2024-07-14 11:33:01 +12:00
bashonly
556aa5161e
Merge branch 'master' into networking/websockets-http-proxy 2024-06-12 02:01:26 -05:00
sepro
add96eb9f8
[cleanup] Add more ruff rules (#10149)
Authored by: seproDev

Reviewed-by: bashonly <88596187+bashonly@users.noreply.github.com>
Reviewed-by: Simon Sawicki <contact@grub4k.xyz>
2024-06-12 01:09:58 +02:00
Simon Sawicki
e897bd8292
[misc] Add hatch, ruff, pre-commit and improve dev docs (#7409)
Authored by: bashonly, seproDev, Grub4K

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
2024-05-26 21:27:21 +02:00
coletdjnz
a275b5e65a
cleanup 2024-05-18 17:44:10 +12:00
coletdjnz
d98ab542f6
Skip WSS in TLS tests for PyPy 2024-05-18 17:42:11 +12:00
coletdjnz
d274eb1f53
Only use SSLTransport where tls-in-tls will be used 2024-05-18 17:18:21 +12:00
coletdjnz
82cceaed31
Only skip wss tests 2024-05-18 16:44:40 +12:00
coletdjnz
6282570bb2
import 2024-05-18 16:26:24 +12:00
coletdjnz
66a8530617
Skip HTTP Connect proxy tests for websockets if using PyPy 2024-05-18 16:24:36 +12:00
coletdjnz
44da2e1323
reset socket timeout before handing over to websockets 2024-05-18 15:43:43 +12:00
coletdjnz
0423915e24
fix 2024-05-18 14:13:44 +12:00
coletdjnz
f5cfe9e00a
test: always use SSLTransport if available
(so it is used for both ends of tls-in-tls)
2024-05-18 14:02:26 +12:00
coletdjnz
c01179b581
cleanup 2024-05-18 13:54:01 +12:00
coletdjnz
1b96519a35
No I think this is requests/urllib3 again 2024-05-18 12:53:46 +12:00
coletdjnz
3350bdeb87
refactoring and add http erro test 2024-05-18 12:23:22 +12:00
coletdjnz
0efd83b31a
patch SSLTransport to return b'' instead of 0 as EOF
Websockets only treats b'' as EOF
2024-05-18 11:41:36 +12:00
coletdjnz
db14294b5c
cleanup after merge 2024-05-11 11:11:39 +12:00
coletdjnz
51e99b0759
Merge remote-tracking branch 'upstream/master' into networking/websockets-http-proxy
# Conflicts:
#	test/test_http_proxy.py
#	test/test_networking.py
2024-05-11 11:09:44 +12:00
coletdjnz
3c7a287e28
[test] Add HTTP proxy tests (#9578)
Also fixes HTTPS proxies for curl_cffi

Authored by: coletdjnz
2024-05-11 10:06:58 +12:00
coletdjnz
833862cfbc
misc cleanup 2024-04-06 15:50:48 +13:00
coletdjnz
eecdc5870c
Merge remote-tracking branch 'coletdjnz/networking/add-http-proxy-tests' into networking/websockets-http-proxy
# Conflicts:
#	test/test_http_proxy.py
2024-04-06 15:48:12 +13:00
coletdjnz
a40e0f6c5f
misc cleanup 2024-04-06 15:47:39 +13:00
coletdjnz
01fe8e8fa6
Handle urllib3 not being available 2024-04-06 15:40:29 +13:00
coletdjnz
3999a510f7
Working websockets HTTP/S proxy 2024-04-06 15:14:59 +13:00
coletdjnz
fddf9e0577
Merge remote-tracking branch 'coletdjnz/networking/add-http-proxy-tests' into networking/websockets-http-proxy 2024-04-06 12:32:59 +13:00
coletdjnz
6c3140a8c1
try this 2024-04-04 19:34:28 +13:00
coletdjnz
41add1d7af
be gone unclosed socket 2024-04-01 14:37:21 +13:00
coletdjnz
bff727c043
Fix unclosed socket errors 2024-04-01 14:02:15 +13:00
coletdjnz
39a45d48f9
somewhat working implementation 2024-03-31 22:04:21 +13:00
coletdjnz
14505063ec
cleanup 2024-03-31 16:25:07 +13:00
coletdjnz
b44e0f8b98
[test] Add http proxy tests 2024-03-31 14:50:29 +13:00