#1 Copy null character for CURL_POSTFIELDS

open
Lars Nilsson
None
5
2012-10-05
2010-07-08
Michael Ekstrand
No

This patch makes the Curl binding copy the null character when CURL_POSTFIELDS is set, enabling the strlen() fallback for unspecified CURL_POSTFIELDSIZE documented in curl_easy_setopt(3) to work.

Discussion

  • Patch for CURL_POSTFIELDS

     
  • Lars Nilsson
    Lars Nilsson
    2010-07-08

    Thanks for the patch! It has been applied.