Skip to content

Unlimited timeout in python requests causes library to wait for requests forever. #22

@dark-light-cz

Description

@dark-light-cz

In contrast with version 1 the actual version 2 is not providing timeout to to calls.

python Requests is used and in their dosumentation is written this:

Timeouts Most requests to external servers should have a timeout attached, in case the server is not responding in a timely manner. By default, requests do not time out unless a timeout value is set explicitly. Without a timeout, your code may hang for minutes or more.

In some cases - like network od DNS problems the library calls hangs forever.

I find this serious issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions