10#ifndef PROTO_FUZZER_POP3_MOCK_SERVER_H_
11#define PROTO_FUZZER_POP3_MOCK_SERVER_H_
17namespace proto_fuzzer {
49 void HandleLine(std::string_view line)
override;
55 static constexpr std::string_view kShutdownReply =
"+OK mock closing POP3 connection\r\n";
void QueueShutdownReply() override
Queue a +OK for the blocking QUIT that follows easy cleanup, then let the shared transport half-close...
void HandleLine(std::string_view line) override
Advance one reply for every complete command.
Pop3MockServer()
Begin without a borrowed protobuf or open socketpair.
~Pop3MockServer() override
Release the server-owned socketpair half after curl has returned its client descriptor.
void ObserveState() override
Retain protocol outcomes in coverage and introspector builds.
PingpongMockServer — shared line-oriented command/response transport for the mail-style protocol peer...