You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When XRootD sends a pgRead to the pelican plugin, the last block may request more bytes than the size of the file, such that offset + request_size > file_size. The built-in http plugin catches this case and restricts requests to the file_size maximum file size: XrdClHttpFilePlugin.cc
When the requested bytes range is larger than the size of the file, the xrootd origin will return the response headers, then close the connection without sending the data. This causes the curl library to return error code 18: transfer closed with outstanding read data remaining. I have replicated this error with multiple production pelican caches:
When XRootD sends a pgRead to the pelican plugin, the last block may request more bytes than the size of the file, such that offset + request_size > file_size. The built-in http plugin catches this case and restricts requests to the file_size maximum file size: XrdClHttpFilePlugin.cc
When the requested bytes range is larger than the size of the file, the xrootd origin will return the response headers, then close the connection without sending the data. This causes the curl library to return error code 18:
transfer closed with outstanding read data remaining
. I have replicated this error with multiple production pelican caches:The pelican platform should restrict the maximum size requested from the origin to the file size, similar to how the built-in http plugin.
The text was updated successfully, but these errors were encountered: