|
curl-fuzzer C++ reference
|
Implementation of shared TELNET response normalization. More...
Go to the source code of this file.
Functions | |
| void | proto_fuzzer::BoundTelnetResponse (curl::fuzzer::proto::Connection *connection) |
| Retain the response prefix that TelnetMockServer can preload safely. | |
Implementation of shared TELNET response normalization.
Definition in file telnet_scenario.cc.
| void proto_fuzzer::BoundTelnetResponse | ( | curl::fuzzer::proto::Connection * | connection | ) |
Retain the response prefix that TelnetMockServer can preload safely.
TELNET runs synchronously inside curl_multi_perform(), so the harness cannot deliver later fragments or drain an arbitrary number of replies between parser transitions. This function applies both the byte budget and the stricter IAC budget shared by the LPM postprocessor and runtime. Once a fragment is truncated, every later fragment is removed because it can no longer affect curl.
| connection | Response script to normalize in place. |
Definition at line 62 of file telnet_scenario.cc.