Print

Print


Yes, I am calling GetMetadata() from inside the ProcessResponse() callback.

I had understood from the docs that there was a distinction between a metadata-only response and a data response with length zero, but I see now that there is no such distinction. From looking at the header files I see it is possible to detect a metadata-only response by inspecting the rInfo::mdlen and rInfo::blen member variables.

The documentation should be updated to accurately describe this. The isNone enum value should be documented to make it clear that this value will never be seen in the callback.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/546#issuecomment-317967783

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1