Lines Matching refs:proxy
209 my $proxy = TLSProxy::Proxy->new(
218 $proxy->serverconnects(2);
219 $proxy->clear();
220 $proxy->serverflags("-no_tx_cert_comp -no_rx_cert_comp");
222 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests";
224 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
230 $proxy->clear();
231 $proxy->clientflags("-no_tx_cert_comp -no_rx_cert_comp");
232 $proxy->serverflags("-cert_comp");
233 $proxy->start();
234 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
240 $proxy->clear();
241 $proxy->serverflags("-cert_comp");
242 $proxy->start();
243 checkhandshake($proxy, checkhandshake::CERT_COMP_SRV_HANDSHAKE,
250 $proxy->clear();
251 $proxy->clientflags("-cert ".srctop_file("apps", "server.pem"));
252 $proxy->serverflags("-Verify 5 -cert_comp");
253 $proxy->start();
254 checkhandshake($proxy, checkhandshake::CERT_COMP_BOTH_HANDSHAKE,
261 $proxy->clear();
262 $proxy->clientflags("-no_rx_cert_comp -cert ".srctop_file("apps", "server.pem"));
263 $proxy->serverflags("-no_tx_cert_comp -Verify 5 -cert_comp");
264 $proxy->start();
265 checkhandshake($proxy, checkhandshake::CERT_COMP_CLI_HANDSHAKE,
271 $proxy->clear();
272 $proxy->clientflags("-no_tx_cert_comp");
273 $proxy->serverflags("-no_rx_cert_comp -cert_comp");
274 $proxy->start();
275 checkhandshake($proxy, checkhandshake::CERT_COMP_SRV_HANDSHAKE,
281 $proxy->clear();
282 $proxy->clientflags("-no_tx_cert_comp");
283 $proxy->serverflags("-no_tx_cert_comp -cert_comp");
284 $proxy->start();
285 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
292 $proxy->clear();
293 $proxy->clientflags("-no_rx_cert_comp");
294 $proxy->serverflags("-no_rx_cert_comp -cert_comp");
295 $proxy->start();
296 checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,