svanoort / pyresttest

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

Reuse curl handle where possible in tests #160

Closed svanoort closed 8 years ago

svanoort commented 8 years ago

Solves an issue with DNS lookup being ridiculously slow when new handles are created.

Reusing the handles allows use of a DNS cache and connection pool. This greatly increases performance!

Should fix: https://github.com/svanoort/pyresttest/issues/152