You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
urlopen() hangs and eats 100% CPU on some https urls (git bisect found problematic commit) #7891
Interesting thing is, reproducibility depends on what exactly HTTPs server sends to the client. Just HTTPs plus relatively large file is not enough. For example, bug completely disappears when I replace https://crates.io/api/v1/crates/tokio with https://gist.githubusercontent.com/khaykov/a6105154becce4c0530da38e723c2330/raw/41ab415ac41c93a198f7da5b47d604956157c5c3/gistfile1.txt.
I was able to git bisect this to a single problematic commit - 073adbd (#7418). Reverting it on top of 0.5.0 fixes this issue for me. And I have no idea about how to fix this properly.
Expected
RustPython should terminate after three iterations.
Activity
Remove special handling of rustls "buffer full" errors
Remove special handling of rustls "buffer full" errors
Remove special handling of rustls "buffer full" errors
Remove special handling of rustls "buffer full" errors
Reproduce RustPython#7891 locally
Reproduce RustPython#7891 locally
Remove special handling of rustls "buffer full" errors
Reproduce RustPython#7891 locally
Reproduce RustPython#7891 locally
Remove special handling of rustls "buffer full" errors
Reproduce RustPython#7891 locally
Remove special handling of rustls "buffer full" errors
Reproduce RustPython#7891 locally
Add regression test for RustPython#7891
Add regression test for RustPython#7891
Remove special handling of rustls "buffer full" errors
Add regression test for RustPython#7891
Add regression test for RustPython#7891
Rustls integration improvements (#7946)
Rustls integration improvements (#7946)