title: CURL php returns wrong STARTTRANSFER time
body: <p>SYSTEM: Win10 Prof,
  XAMPP Version: 7.1.10</p>
  
  <p>I am currently sending a request via curl to a rest API. After curl_exec() I want to check the time the curl request was running.</p>
  
  <p>When checking the time returns with curl_getinfo most of the time the values are correct, but sometimes STARTTRANSFER returns an far away time from real time response.</p>
  
  <p><strong>Example normal:</strong></p>
  
  <pre><code>|&lt;br&gt;
   |--NAMELOOKUP 0.015 (Time from start until name resolving completed)&lt;br&gt;
   |--|--CONNECT 0.015 (Time from start until remote host or proxy completed) 
   &lt;br&gt;
   |--|--|--APPCONNECT 0.046 (Time from start until SSL/SSH handshake completed)&lt;br&gt;
    |--|--|--|--PRETRANSFER 0.046 (Time from start until just before the transfer begins)&lt;br&gt;
     |--|--|--|--|--STARTTRANSFER 1.203 (Time from start until just when the first byte is received)&lt;br&gt;
     |--|--|--|--|--|--TOTAL 1.203 (Total time of previous transfer)&lt;br&gt;
     |--|--|--|--|--|--REDIRECT 0 (Time taken for all redirect steps before the final transfer)&lt;br&gt;
  
     |&lt;br&gt;
     |--NAMELOOKUP 0.031 (Time from start until name resolving completed)&lt;br&gt;
     |--|--CONNECT 0.031 (Time from start until remote host or proxy completed)&lt;br&gt;
     |--|--|--APPCONNECT 0.078 (Time from start until SSL/SSH handshake completed) 
          &lt;br&gt;
      |--|--|--|--PRETRANSFER 0.078 (Time from start until just before the transfer begins)&lt;br&gt;
       |--|--|--|--|--STARTTRANSFER 0.75 (Time from start until just when the first byte is received)&lt;br&gt;
       |--|--|--|--|--|--TOTAL 0.75 (Total time of previous transfer)&lt;br&gt;
      |--|--|--|--|--|--REDIRECT 0 (Time taken for all redirect steps before the final transfer)&lt;br&gt; 
  </code></pre>
  
  <p><strong>And than sometimes this response:</strong></p>
  
  <pre><code>    |--NAMELOOKUP 0.031 (Time from start until name resolving completed)&lt;br&gt;
      |--|--CONNECT 0.031 (Time from start until remote host or proxy completed)&lt;br&gt;
     |--|--|--APPCONNECT 0.078 (Time from start until SSL/SSH handshake completed)&lt;br&gt;
     |--|--|--|--PRETRANSFER 0.078 (Time from start until just before the transfer begins)&lt;br&gt;
     |--|--|--|--|--STARTTRANSFER 4298.732296 (Time from start until just when the first byte is received)&lt;br&gt;
     |--|--|--|--|--|--TOTAL 4298.732296 (Total time of previous transfer)&lt;br&gt;
     |--|--|--|--|--|--REDIRECT 0 (Time taken for all redirect steps before the final transfer)&lt;br&gt;
  </code></pre>
  
  <p>At all times the processing time is within 1-2 seconds from load page to get the response printed.</p>
  
  <p>This issue only happens when starting the script within xampp on the windows machine. When running it on a linux (debian) system it doesn't happen. </p>
  
  <p>Any idea what's going wrong on windows with curl and xampp at this time?</p>