Print

Print


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 #675
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/676

-- Commit Summary --

  * Always have OpenSSL read/write data through the XrdLink object.
  * Fixup: remove old code.

-- File Changes --

    M src/XrdHttp/XrdHttpProtocol.cc (161)
    M src/XrdHttp/XrdHttpProtocol.hh (10)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/676.patch
https://github.com/xrootd/xrootd/pull/676.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/676

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1