I read up on the http 1.1 specifications and looked up on how chunked encoded files are sent, i even looked at the pseudo code and repoduced it but that had led me here.
my http client runs the following procedures to dechunk a response
read tcp stream until CRLF for chunk size(carriage return line feed) convert hex size to decimal begin while loop as long as chunk size is not 0 append chunk size to global size read next line until CRLF check response and size append to variable containing response read next line until CRLF for next chunk size end loop read footers etc.
the problem i have is that the tcp function that i currently have will read all data to the CRLF but it doesnt seem to give any output at all
the function i used to recieve chunks is the same function i use to read the headers, am i supposed to send some kind to "sub"request or should i read chunks in an alternate way to the headers
if you would like to see any code just ask