folly::AsyncTransport::dropSelfCertificate

Hints to transport implementations that the associated certificate is no longer required by the application. The transport implementation may choose to free up resources associated with the self certificate.

Synopsis

Declared in <folly/io/async/AsyncTransport.h>

virtual
void
dropSelfCertificate() noexcept;

Description

After this call, getPeerCertificate() may return nullptr, even if it previously returned non-null