-
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
XrdHttp does not handle XrdLink counters correctly for HTTPS #675
Comments
bbockelm
added a commit
to bbockelm/xrootd
that referenced
this issue
Mar 24, 2018
Previously, we just handed OpenSSL the underlying file descriptor. This worked fine, protocol-wise. However, this didn't interact well with the Xrootd framework itself as the idle counter was not update, nor were proper statistics recorded. With this commit, we create a custom BIO object for OpenSSL to use; this object simply forwards the requests to an underlying XrdLink. Fixes xrootd#675
bbockelm
added a commit
to bbockelm/xrootd
that referenced
this issue
Mar 24, 2018
Previously, we just handed OpenSSL the underlying file descriptor. This worked fine, protocol-wise. However, this didn't interact well with the Xrootd framework itself as the idle counter was not update, nor were proper statistics recorded. With this commit, we create a custom BIO object for OpenSSL to use; this object simply forwards the requests to an underlying XrdLink. Fixes xrootd#675
bbockelm
added a commit
to bbockelm/xrootd
that referenced
this issue
Mar 24, 2018
Previously, we just handed OpenSSL the underlying file descriptor. This worked fine, protocol-wise. However, this didn't interact well with the Xrootd framework itself as the idle counter was not update, nor were proper statistics recorded. With this commit, we create a custom BIO object for OpenSSL to use; this object simply forwards the requests to an underlying XrdLink. Fixes xrootd#675
bbockelm
added a commit
to bbockelm/xrootd
that referenced
this issue
Mar 25, 2018
Previously, we just handed OpenSSL the underlying file descriptor. This worked fine, protocol-wise. However, this didn't interact well with the Xrootd framework itself as the idle counter was not update, nor were proper statistics recorded. With this commit, we create a custom BIO object for OpenSSL to use; this object simply forwards the requests to an underlying XrdLink. Fixes xrootd#675
ffurano
pushed a commit
to ffurano/xrootd-fbx4
that referenced
this issue
Mar 28, 2018
Previously, we just handed OpenSSL the underlying file descriptor. This worked fine, protocol-wise. However, this didn't interact well with the Xrootd framework itself as the idle counter was not update, nor were proper statistics recorded. With this commit, we create a custom BIO object for OpenSSL to use; this object simply forwards the requests to an underlying XrdLink. Fixes xrootd#675
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When reading / writing data to a HTTPS socket,
XrdHttpProtocol.cc
will perform operations on the socket directly.This is not ideal for two reasons:
isIdle
counter on theXrdLink
object is not reset to zero, meaning that the TCP connection will eventually be abruptly disconnected. I have hit this in production mid-transfer, particularly in setups with aggressive session reuse.The text was updated successfully, but these errors were encountered: