-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
specs: kXR_dirlist doesn't follow specs for empty dirs #739
Comments
/cc @EgorMatirov |
sbinet
added a commit
to go-hep/hep
that referenced
this issue
Jun 11, 2018
This CL adds a temporary hack for issueing kXR_dirlist requests against empty directories. According to the specs, an empty directory should just return the 8-byte triplet {streamid, 0, 0}. But when called with kXR_dstat, we don't see this. Updates xrootd/xrootd#739.
I have removed the ambiguities from the kXR_dirlist request description in v4 of the protocol documentation. |
thanks. FYI, it now reads:
whereas it should probably be:
|
Hi Sebastien,
Yes, I typo – didn’t catch it because it was still a correct word
Andy
From: Sebastien Binet
Sent: Thursday, June 21, 2018 12:22 AM
To: xrootd/xrootd
Cc: Andrew Hanushevsky ; State change
Subject: Re: [xrootd/xrootd] specs: kXR_dirlist doesn't follow specs for empty dirs (#739)
thanks.
FYI, it now reads:
“{streamed,0,8}.\n0 0 0\0”
whereas it should probably be:
“{streamid,0,8}.\n0 0 0\0”
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to the specs of
kXR_dirlist
:the normal response to a
kXR_dirlist
command (withkXR_dstat
) is:also, it says:
I'd assume the note
6)
was written whenkXR_dirlist
is issued w/okXR_dstat
, because when issueing it w/kXR_dstat
I get adlen != 0
and the following trailing bytes:whereas, at the very least (for consistency's sake), we should get:
The text was updated successfully, but these errors were encountered: