if(_initial_content_length!=0){// Check if the data is a new fragment of the response
loggers::get_instance().warning("http_codec::decode: Need to bufferize and wait for all fragments received");
_bufferized_buffers.push_back(data);
_current_content_length+=data.lengthof();// FIXME Need to calculate the size of the header buffer, do not assume th first fragmwnt is the header buffer
_bufferized_buffers.push_back(p_data);
_current_content_length+=p_data.lengthof();// FIXME Need to calculate the size of the header buffer, do not assume th first fragmwnt is the header buffer
}elseif((decoding_buffer.get_pos()==decoding_buffer.get_len())&&(_dc.length>0)/*no more byte in to decode in decoding_buffer and Coontent-Length > 0*/){// Missing body
@@ -137,8 +137,8 @@ int http_codec::decode(const OCTETSTRING &data, LibHttp__TypesAndValues::HttpMes
loggers::get_instance().log("http_codec::decode: Set bufferization counters");
}elseif((decoding_buffer.get_pos()==decoding_buffer.get_len())&&(_dc.length>0)/*no more byte in to decode in decoding_buffer and Coontent-Length > 0*/){// Missing body
@@ -218,8 +218,8 @@ int http_codec::decode(const OCTETSTRING &data, LibHttp__TypesAndValues::HttpMes
loggers::get_instance().log("http_codec::decode (request): Set bufferization counters");