Use curl_multi_timeout() to determine the select() timeout, instead of hard-coding one second.
Attach a file by drag & drop or click to upload