https://bz.apache.org/bugzilla/show_bug.cgi?id=69591

--- Comment #14 from Yann Ylavic <[email protected]> ---
(In reply to Karthick B from comment #8)
> code snippet for CRLF
>   len = BUFSIZE_CHUNKED-7; /* Hex of BUFSIZE_CHUNKED = 3 Bytes, 2*\r\n*/
>   sprintf(buf, "%X\r\n",len);
>   buf[BUFSIZE_CHUNKED-2] = '\r';
>   buf[BUFSIZE_CHUNKED-1] = '\n';
>   tmpres = send(sock, buf, BUFSIZE_CHUNKED, (MSG_NOSIGNAL));

Are you sending the final zero chunk size at some point?
I one go this would be:
    len = BUFSIZE_CHUNKED-7;
    sprintf(buf, "%X\r\n",len);
    buf[BUFSIZE_CHUNKED-5] = '\r';
    buf[BUFSIZE_CHUNKED-4] = '\n';
    buf[BUFSIZE_CHUNKED-3] = '0';
    buf[BUFSIZE_CHUNKED-2] = '\r';
    buf[BUFSIZE_CHUNKED-1] = '\n';

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to