juancarlospaco / faster-than-requests

Faster requests on Python 3
https://gist.github.com/juancarlospaco/37da34ed13a609663f55f4466c4dbc3e
MIT License
1.11k stars 90 forks source link

Process finished with exit code -1073741819 (0xC0000005) #176

Closed iCheppy closed 2 years ago

iCheppy commented 3 years ago

I am getting a bad exit code after several requests are made. The first few requests work fine, but then it breaks. Process finished with exit code -1073741819 (0xC0000005) (access violation error)

requests2.init_client()

for url in url_bank:
    requests2.get(url)
juancarlospaco commented 3 years ago

You need to close_client, but in the future init_client nor close_client will not be needed, because of this kind of problems.

github-actions[bot] commented 2 years ago

This issue is Stale because it has been open for 60 days with no activity. Contribute a fix or comment on the issue, or it will be closed in 3 days.

github-actions[bot] commented 2 years ago

This issue has been marked as Stale and closed due to inactivity.