Skip to content

fix(agent): Do not reuse `http_client` on failures.

Alexis Metaireau requested to merge fix/reinit-http-client-on-failures into main

The http_client is instantiated with the agent, and reused all the time. If the connection fails and closes, it's sometimes not possible to reuse it.

Fixes #37 (closed)


PS: We might want to (at least try to) add tests to check this works as intended.

Edited by Alexis Metaireau

Merge request reports

Loading