curl-fuzzer C++ reference
Loading...
Searching...
No Matches
mock_server.h File Reference

MockConnection and MockServer — the in-process peer that feeds canned response bytes to libcurl over a socketpair. More...

Go to the source code of this file.

Classes

class  proto_fuzzer::MockConnection
 Owns one half of a socketpair used to feed canned responses to libcurl. More...
class  proto_fuzzer::MockServer
 Orchestrates a bounded sequence of mock HTTP exchanges: installs socket callbacks on an easy handle, assigns a response script to each new socket, and feeds queued chunks as libcurl reads them. More...

Detailed Description

MockConnection and MockServer — the in-process peer that feeds canned response bytes to libcurl over a socketpair.

Definition in file mock_server.h.