From 186546f1c5ffa62526bd57deb5b9fd6e68da2a5e Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Mon, 24 Aug 2015 00:15:01 -0400 Subject: TFTP: add option to suppress TFTP option requests (Part 2) - Add tests. - Add an example to CURLOPT_TFTP_NO_OPTIONS.3. - Add --tftp-no-options to expose CURLOPT_TFTP_NO_OPTIONS. Bug: https://github.com/curl/curl/issues/481 --- tests/data/test1242 | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 tests/data/test1242 (limited to 'tests/data/test1242') diff --git a/tests/data/test1242 b/tests/data/test1242 new file mode 100644 index 000000000..c8bc3d4ac --- /dev/null +++ b/tests/data/test1242 @@ -0,0 +1,43 @@ + + + +TFTP +TFTP RRQ + + + +# +# Server-side + + +a chunk of +data +returned + to client + + + +# +# Client-side + + +tftp + + +TFTP retrieve without TFTP options requests + + +tftp://%HOSTIP:%TFTPPORT//1242 --tftp-no-options --trace-ascii log/traceit + + + +# +# Verify pseudo protocol after the test has been "shot" + + +opcode: 1 +mode: octet +filename: /1242 + + + -- cgit v1.2.1