From 064a4568c0eda1d1549cf5e36fc15f02c2fa3fb8 Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Wed, 6 Apr 2005 12:55:25 +0000 Subject: [PATCH] 2005-04-06 Sebastien Pouliot * postecho.cs: Fix some strings. * sendback.aspx: ASP.NET version of the server script. * README: updated instructions with the new script. svn path=/trunk/mcs/; revision=42603 --- mcs/class/Mono.Security/Test/tools/postecho/ChangeLog | 6 ++++++ mcs/class/Mono.Security/Test/tools/postecho/README | 10 +++++----- .../Mono.Security/Test/tools/postecho/postecho.cs | 4 ++-- .../Mono.Security/Test/tools/postecho/sendback.aspx | 1 + 4 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 mcs/class/Mono.Security/Test/tools/postecho/sendback.aspx diff --git a/mcs/class/Mono.Security/Test/tools/postecho/ChangeLog b/mcs/class/Mono.Security/Test/tools/postecho/ChangeLog index 6c10b77a860..233f2fd3254 100644 --- a/mcs/class/Mono.Security/Test/tools/postecho/ChangeLog +++ b/mcs/class/Mono.Security/Test/tools/postecho/ChangeLog @@ -1,3 +1,9 @@ +2005-04-06 Sebastien Pouliot + + * postecho.cs: Fix some strings. + * sendback.aspx: ASP.NET version of the server script. + * README: updated instructions with the new script. + 2005-02-04 Sebastien Pouliot * ChangeLog: New. Track changes of postecho; diff --git a/mcs/class/Mono.Security/Test/tools/postecho/README b/mcs/class/Mono.Security/Test/tools/postecho/README index 3431197f1ba..e88cc25321c 100644 --- a/mcs/class/Mono.Security/Test/tools/postecho/README +++ b/mcs/class/Mono.Security/Test/tools/postecho/README @@ -4,19 +4,19 @@ To run the postecho tool your web server must have a script present to return the TEST variable value to the tool. The tool can use the HttpWebRequest|Response or the SslClientStream directly. -This is almost identical when executed on Mono but very different if you test -with the MS runtime. +This is almost identical when executed on Mono but very different (execution +wise not result wise) if you test with the MS runtime. Available server-side scripts 1. sendback.asp - ASP* script to return back the TEST value. + ASP script to return back the TEST value. +2. sendback.aspx -[*] This ISN'T an ASP.NET script as I didn't have it IIS present when -installing VS.NET. + ASP.NET script to return back the TEST value. Sebastien Pouliot diff --git a/mcs/class/Mono.Security/Test/tools/postecho/postecho.cs b/mcs/class/Mono.Security/Test/tools/postecho/postecho.cs index 3272c53e56a..5aa500d7fb1 100644 --- a/mcs/class/Mono.Security/Test/tools/postecho/postecho.cs +++ b/mcs/class/Mono.Security/Test/tools/postecho/postecho.cs @@ -21,7 +21,7 @@ class PostEcho { static void Help () { Console.WriteLine ("postecho url [size] [--web | --ssl3 | --tls1]"); - Console.WriteLine (" default size is 1024"); + Console.WriteLine (" default size is 1024 (bytes)"); Console.WriteLine (" default mode is --tls1"); Console.WriteLine ("* a server side script must be installed to run postecho"); } @@ -119,7 +119,7 @@ class PostEcho { } for (int i = 0; i < result.Length; i++) { if (result[i] != 'A') { - Console.WriteLine ("Error at {0} - reveived {1}", i, result[i]); + Console.WriteLine ("Error at position #{0} - received '{1}'", i, result[i]); return 1; } } diff --git a/mcs/class/Mono.Security/Test/tools/postecho/sendback.aspx b/mcs/class/Mono.Security/Test/tools/postecho/sendback.aspx new file mode 100644 index 00000000000..68565ed2f33 --- /dev/null +++ b/mcs/class/Mono.Security/Test/tools/postecho/sendback.aspx @@ -0,0 +1 @@ +<%= Request.Form ("TEST") %> \ No newline at end of file -- 2.25.1