-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Description
I use a timeout of 500ms for a call to an external service.
Sometimes the request times out and that's fine, but then my GenServer recieves a message of the following format. Since I do not handle it, it crashes :(
[error] AdExchange.OpenRTB.V24Worker #PID<0.1658.0> received unexpected message in handle_info/2: {#Reference<0.640795280.3317170178.75561>, {:ok, '200', [{'Date', 'Fri, 23 Feb 2018 16:47:29 GMT'}, {'Content-Type', 'application/json; charset=utf-8'}, {'Server', 'Kestrel'}, {'Transfer-Encoding', 'chunked'}], '<some_json_result>''}}
Seems like it sends the result, when I don't need it anymore.
I read docs, and I am not using async requests for sure.
Is this an expected behaviour?
HTTPotion is 3.1.0.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels