fix bug #64247 (CURLOPT_INFILE doesn't allow reset)
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  fix bug #64247 (CURLOPT_INFILE doesn't allow reset)
BFN
Merge branch 'PHP-5.6'

* PHP-5.6:
  BFN
  fix bug #64247 (CURLOPT_INFILE doesn't allow reset)