Skip to content
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

[XrdTpc] Fix order of chaining when parsing xrootd.fslib. #783

Merged
merged 1 commit into from
Aug 8, 2018

Conversation

bbockelm
Copy link
Contributor

Add comments to prevent future confusion over how this line is parsed.

Prior to this, a xrootd.fslib line that specifies a plugin chain:

xrootd.fslib /usr/lib64/libXrdMultiuser.so default

would not actually create the base default plugin.

Add comments to prevent future confusion over how this line is parsed.

Prior to this, a `xrootd.fslib` line that specifies a plugin chain:

```
xrootd.fslib /usr/lib64/libXrdMultiuser.so default
```

would not actually create the base default plugin.
@bbockelm
Copy link
Contributor Author

bbockelm commented Aug 7, 2018

@simonmichal - I think Fabrizio might be on vacation. Would you be able to review this PR?

@ffurano
Copy link
Contributor

ffurano commented Aug 8, 2018

Hi, I am around, yet a bit spotty.
This PR seems to be a fix to XrdTPC to make it able to load correctly a chain of Sfs plugins. The fix seems small and clean in a much larger environment. I may understand what this is for, however I miss a properly malicious way to do a meaningful test involving the other libs that are mentioned.
I would accept it just because it makes sense to me.

@ffurano ffurano merged commit e1ce201 into xrootd:master Aug 8, 2018
@abh3
Copy link
Member

abh3 commented Aug 8, 2018 via email

@bbockelm
Copy link
Contributor Author

bbockelm commented Aug 8, 2018

Hi,

Yup - this addresses a bug that we discovered when testing the multiuser plugin at Florida. To reproduce, add:

http.exthandler xrdtpc libXrdHttpTPC.so
xrootd.fslib libXrdMultiuser.so default

I think this would also reproduce:

http.exthandler xrdtpc libXrdHttpTPC.so
xrootd.fslib libXrdThrottle.so default

(i.e., chain with the throttle plugin but do not use the xrootd.fslib throttle default abbreviation)

Regardless, thanks for the merge!

Brian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants