//loggers::get_instance().log("commsignia_layer::receive_data: compare %02x with %02x", r->antenna, static_cast<unsigned char>(std::strtoul(_params[params::interface_id].c_str(), NULL, 10)));
loggers::get_instance().log("commsignia_layer::receive_data: compare %02x with %02x",r->antenna,static_cast<unsignedchar>(std::strtoul(_params[params::interface_id].c_str(),NULL,10)));
@@ -196,10 +196,10 @@ int http_codec::encode_request(const LibItsHttp__TypesAndValues::Request& p_requ
_ec.is_content_length_present=0x00;
}
// Encode Content-length header
p_encoding_buffer.put_cs("Content-length: ");
// Encode Content-Length header
p_encoding_buffer.put_cs("Content-Length: ");
if(_ec.length!=0){
loggers::get_instance().log("http_codec::encode_request: Content-length: %s",static_cast<constchar*>(int2str(_ec.length+2/*Stand for the last CRLF*/)));
loggers::get_instance().log("http_codec::encode_request: Content-Length: %s",static_cast<constchar*>(int2str(_ec.length+2/*Stand for the last CRLF*/)));
p_encoding_buffer.put_cs(static_cast<constchar*>(int2str(_ec.length+2/*Stand for the last CRLF*/)));
_ec.is_content_length_present=0x01;
}else{
...
...
@@ -236,7 +236,7 @@ int http_codec::encode_response (const LibItsHttp__TypesAndValues::Response& p_r