https://bz.apache.org/bugzilla/show_bug.cgi?id=69591
--- Comment #15 from Karthick B <karthick...@live.com> --- (In reply to Yann Ylavic from comment #14) > (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'; yes. once i complete sending data, will be zero chunk explicitly and close the connection. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org For additional commands, e-mail: bugs-h...@httpd.apache.org