2005-04-06 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Wed, 6 Apr 2005 12:55:25 +0000 (12:55 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Wed, 6 Apr 2005 12:55:25 +0000 (12:55 -0000)
* 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
mcs/class/Mono.Security/Test/tools/postecho/README
mcs/class/Mono.Security/Test/tools/postecho/postecho.cs
mcs/class/Mono.Security/Test/tools/postecho/sendback.aspx [new file with mode: 0644]

index 6c10b77a86074f8d4317952431fc4e797f2759a4..233f2fd325451c990a524b20e384ce33df19b78b 100644 (file)
@@ -1,3 +1,9 @@
+2005-04-06  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * 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  <sebastien@ximian.com>
 
        * ChangeLog: New. Track changes of postecho;
index 3431197f1bade5b9b10427ebc25fe5fbe63e140f..e88cc25321c1659f72cda9f4599cd92d1a60decf 100644 (file)
@@ -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
index 3272c53e56a3ae6e5bfcf6fc2cd88444c2daa8e4..5aa500d7fb1576f01d17cef4e6bc57abbbf30c19 100644 (file)
@@ -21,7 +21,7 @@ class PostEcho {
        static void Help ()\r
        {\r
                Console.WriteLine ("postecho url [size] [--web | --ssl3 | --tls1]");\r
-               Console.WriteLine ("  default size is 1024");\r
+               Console.WriteLine ("  default size is 1024 (bytes)");\r
                Console.WriteLine ("  default mode is --tls1");\r
                Console.WriteLine ("* a server side script must be installed to run postecho");\r
        }\r
@@ -119,7 +119,7 @@ class PostEcho {
                }\r
                for (int i = 0; i < result.Length; i++) {\r
                        if (result[i] != 'A') {\r
-                               Console.WriteLine ("Error at {0} - reveived {1}", i, result[i]);\r
+                               Console.WriteLine ("Error at position #{0} - received '{1}'", i, result[i]);\r
                                return 1;\r
                        }\r
                }\r
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 (file)
index 0000000..68565ed
--- /dev/null
@@ -0,0 +1 @@
+<%= Request.Form ("TEST") %>
\ No newline at end of file