Skip to content
Snippets Groups Projects
Commit 32d95017 authored by Michael Davis's avatar Michael Davis
Browse files

[xrd_ssi] Adds extra debug info to client side

View the binary contents of the Protobuf received on the client side to
debug ParseFromArray() error
parent 6c69dfee
No related branches found
No related tags found
No related merge requests found
......@@ -232,6 +232,12 @@ void Request<RequestType, MetadataType, AlertType>::ProcessResponseMetadata()
const char *metadata_buffer = GetMetadata(metadata_len);
#ifdef XRDSSI_DEBUG
std::cerr << "[DEBUG] ProcessResponseMetadata(): received " << metadata_len << " bytes of data" << std::endl;
std::cerr << "[DEBUG] ProcessResponseMetadata(): ";
for(int i = 0; i < metadata_len; ++i)
{
std::cerr << "<" << static_cast<int>(*(metadata_buffer+i)) << ">";
}
std::cerr << std::endl;
#endif
// Deserialize the metadata
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment