svanoort / pyresttest

Python Rest Testing
Apache License 2.0
1.15k stars 326 forks source link

Non persistent connections #296

Open eespitiarea opened 5 years ago

eespitiarea commented 5 years ago

Added an option to disable persistent connections in order to avoid issues with Django

eespitiarea commented 5 years ago

Actually, the latest version of pycurl already takes care of handle reuse on its own by resetting instead of closing, the explicit handle reuse in the framework is no longer necessary and, in my personal opinion, confusing - simple is better than complex, right? -, now, in regards to tcp persistent connections I rather this to be optional to avoid issues in very complicated use cases - don't want to ruin it for anyone else.