Skip to content
Snippets Groups Projects
Commit f83798e8 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 c0ae57cf
Branches
Tags
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.
Please register or to comment