toland / patron

Ruby HTTP client based on libcurl
http://toland.github.com/patron/
MIT License
541 stars 73 forks source link

Make sure the state->post and stat-last pointers are cleared after curl_formfree() #120

Closed joemce closed 8 years ago

joemce commented 8 years ago

Fix for issue #119

Make sure the state->post and stat-last pointers are cleared after calling curl_formfree(). libcurl does not reset these pointers and they need to be cleared.

toland commented 8 years ago

Good catch. Thanks.

julik commented 8 years ago

👍