Skip to content
Snippets Groups Projects
Commit a6bacf70 authored by Tobias Sarnowski's avatar Tobias Sarnowski Committed by Andreas Gohr
Browse files

do not reuse errornous http connections

As soon as something goes wrong while querying a http server
do not reuse the same connection again, its state is undefined.

In addition, check the connection for feof() before reusing it.
parent 1415e8b5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment