This API will be used for contexts created in the plugin. Since we already have the OCSP query,response and caching mechanism are already in ATS, the developer can choose to use this callback for OCSP stapling. Otherwise the whole OCSP part has to rewritten in the plugin. We have a use case where the plugin developer wants to use the ATS OCSP code without duplicating anything.
Syeda Persia Aziz Software DeveloperYahoo! Inc.Champaign, Illinois On Tuesday, March 27, 2018, 2:57:12 PM CDT, James Peach <jpe...@apache.org> wrote: > On Mar 27, 2018, at 12:45 PM, Persia Aziz <persia.a...@yahoo.com.INVALID> > wrote: > > TSReturnCode TSSslOCSPCallbackSet(TSSslContext ctx) > TSSslOCSPCallbackSet sets the OCSP callback described in ATS What does "sets the OCSP callback described in ATS" mean? If I'm writing a plugin why would I call this API? > to the SSL context passed as an argument. This API is useful for contexts > created externally via plugin > > PR: https://github.com/apache/trafficserver/pull/3353/files Looking at the PR, this enables OCSP stapling? Could you please explain the motivating problem and rationale, and document the semantics of the proposed API? J