title: Server received all data but HttpSendRequest return FALSE 12002 in client
body: <p>The Client sends some data to Server via <code>HttpSendRequest</code>:</p>
  
  <pre><code>            if (!HttpSendRequest(request.get(), NULL, 0,
                       const_cast&lt;char *&gt;(request_body.data()),
                       static_cast&lt;DWORD&gt;(request_body.size()))) {
                  // return false;
              }
  </code></pre>
  
  <p>My Server received all data in <code>request_body</code> then send response:</p>
  
  <pre><code>            char success_message[] =
                      "HTTP/1.1 200 OK" "\n"
                      "Content-Type: text/xml; charset=utf-8" "\n"
                      "Content-Length: 0" "\n";
  </code></pre>
  
  <p>(I send this response via socket)
  but in client <code>HttpSendRequest</code> block ~10 seconds then return <code>FALSE</code> with error <code>12002</code> return from <code>GetLastError().</code></p>
  
  <p>So my question is:</p>
  
  <ol>
  <li>Is my reponse message in wrong format?</li>
  <li>When <code>HttpSendRequest</code> return from blocking?</li>
  </ol>
  
  <p>Edit 1:
  this is the request from client, there are more data but not need, i though</p>
  
  <pre><code>    POST / HTTP/1.1
      Content-Type: multipart/form-data; boundary=---------------------------0000002900004823
      User-Agent: Breakpad/1.0 (Windows)
      Host: 127.0.0.1:1519
      Content-Length: 437805
      Cache-Control: no-cache
  
      -----------------------------0000002900004823
      Content-Disposition: form-data; name="channel"
  
  
      -----------------------------0000002900004823
  </code></pre>