> 
>       sprintf(szBuf,
>         "POST %s HTTP/1.0\r\nContent-Type: %sContent-Length: %d\r\n",
> m_szURL, "text/html\r\n\r\n", nBytesToWrite);

Due to the "text/html\r\n\r\n" the Content-length is already outside the header

>       sprintf(szBuf,
>         "POST %s HTTP/1.0\r\nContent-Length: %d\r\nContent-Type: %s",
> m_szURL, "text/html\r\n\r\n", nBytesToWrite);
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to