I am proposing changes to enable a plugin to access the outbound SSL object
and override elements as it likes before the outgoing TLS handhake
completes.

To acheive this, I have put up PR #4377, which adds the following hooks
* TS_VCONN_OUTBOUND_START_HOOK
* TS_VCONN_OUTBOUND_CLOSE_HOOK
These are analogous to the TS_VCONN_START_HOOK and TS_VCONN_CLOSE hook,
except that they apply to the outbound connections instead of the inbound
connections.  The START hook can be delayed and restarted.  The CLOSE hooks
must be reenabled immediately.  The callback is given the TSVConn of the
outbound connection.

In addition, I propose the following new Plugin APIs to fetch continuation
that requested the new outbound connection

* TSCont TSNetInvokingContGet(TSVConn conn)

* TSHttpTxn TSNetInvokingTxnGet(TSVConn conn)


Please review and share your thoughts.


Thanks,

Susan

Reply via email to