18namespace proto_fuzzer {
39 transport_.Install(easy);
66#if defined(PROTO_FUZZER_OBSERVE_STATE)
68 const volatile std::size_t ftps_observation[] = {
70 (void)ftps_observation;
void ObserveState() override
Retain protocol outcomes in coverage and introspector builds.
void ReleaseConnections()
Close every server-owned transport before the borrowed scenario or a subclass transport disappears.
bool SupportsActiveMode() const override
Reject active-mode listener creation.
FtpsMockServer()
Construct the OpenSSL server carrier used by every FTPS scenario.
void Install(CURL *easy) override
Install the shared socket callbacks and a stable local trust anchor.
~FtpsMockServer() override
Release the TLS connections before the carrier-owned server context.
int negotiated_tls_version() const
std::string negotiated_alpn() const
void ObserveState() override
Retain protocol outcomes in coverage and introspector builds.
std::size_t completed_handshake_count() const
std::unique_ptr< MockConnection > CreateConnection() override
Wrap one control or passive-data socketpair endpoint in an OpenSSL acceptor.
virtual void Install(CURL *easy)
Install the common OPENSOCKETFUNCTION / OPENSOCKETDATA / SOCKOPTFUNCTION callbacks on 'easy'.
Implicit-TLS in-process peer for curl's FTPS state machine.
MockConnection and MockServer — the in-process peer that feeds canned response bytes to libcurl over ...
TlsApplicationProtocol
Application protocol selected by the in-process TLS peer.
@ kHttp11
Ordinary HTTPS scripts contain HTTP/1.1 response bytes.