questdb / c-questdb-client

Rust, C and C++ client for QuestDB InfluxDB Line Protocol
Apache License 2.0
48 stars 13 forks source link

bug: apply request_timeout to timeout_connect #72

Closed mtopolnik closed 6 months ago

mtopolnik commented 6 months ago

ureq has a potential bug in its agent builder code regarding timeouts. There are two kinds of timeout:

This PR applies a workaround and sets timeout_connect to QuestDB's parameter request_timeout.

This partially addresses https://github.com/questdb/py-questdb-client/issues/75.

Also addresses #66.