Daniel, I've written tests to reproduce the bug: https://github.com/bagder/curl/pull/89...
Keep it open. Thanks.
What do you think is more appropriate here, a "unit" test or a "libtest"?
Daniel, I remember I invested a short time trying to write one when I reported [#1303]...
Proposed fix: https://github.com/bagder/curl/pull/88
libcurl prunes CURLOPT_RESOLVE entries after detecting a dead connection