Skip to content

Commit

Permalink
dcache-xroot: update to xrootd4j-4.0.5
Browse files Browse the repository at this point in the history
update to xrootd4j 4.0.5

Fixes improper use of destination token when
contacting source server during third-pary transfer.
9ef36cf8a35e0aedf1da526f47d1aadc7ebe43e6
https://rb.dcache.org/r/12828

Target: master
Request: 7.0
Request: 6.2
Request: 6.1
Request: 6.0
Request: 5.2
Acked-by: Lea
  • Loading branch information
alrossi authored and mksahakyan committed Mar 5, 2021
1 parent e32de4e commit 93d5d18
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Expand Up @@ -354,6 +354,8 @@ protected XrootdResponse<OpenRequest> doOnOpen(ChannelHandlerContext ctx, OpenRe

return new RedirectResponse<>(req, host,address.getPort(),
opaqueString, "");
} catch (ParseException e) {
return withError(req, kXR_ArgInvalid, "Path arguments do not parse");
} catch (FileNotFoundCacheException e) {
return withError(req, xrootdErrorCode(e.getRc()), "No such file");
} catch (FileExistsCacheException e) {
Expand Down Expand Up @@ -397,7 +399,7 @@ protected XrootdResponse<OpenRequest> doOnOpen(ChannelHandlerContext ctx, OpenRe
Map<String,String> opaque,
FsPath fsPath,
String remoteHost)
throws CacheException
throws CacheException, ParseException
{
if (!_door.isReadAllowed(fsPath)) {
throw new PermissionDeniedCacheException(
Expand Down
Expand Up @@ -344,6 +344,8 @@ protected XrootdResponse<OpenRequest> doOnOpen(ChannelHandlerContext ctx,
file.release();
}
}
} catch (ParseException e) {
throw new XrootdException(kXR_ArgInvalid, e.getMessage());
} catch (IOException e) {
throw new XrootdException(kXR_IOError, e.getMessage());
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -67,7 +67,7 @@
<version.smc>6.6.0</version.smc>
<version.xerces>2.11.0</version.xerces>
<version.jetty>9.4.18.v20190429</version.jetty>
<version.xrootd4j>3.5.8</version.xrootd4j>
<version.xrootd4j>3.5.9</version.xrootd4j>
<version.jersey>2.28</version.jersey>
<version.dcache-view>1.6.1</version.dcache-view>
<version.netty>4.1.45.Final</version.netty>
Expand Down

0 comments on commit 93d5d18

Please sign in to comment.