gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 238/256: test1160: verifies cookie leak for large c


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 238/256: test1160: verifies cookie leak for large cookies
Date: Fri, 06 Oct 2017 19:45:29 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit a352e21c0bb7a2ae0d2737408198d331037c37c7
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Sep 29 09:19:09 2017 +0200

    test1160: verifies cookie leak for large cookies
    
    The fix done in 20ea22ff735
---
 tests/data/Makefile.inc |  1 +
 tests/data/test1160     | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc
index 1bfd75eca..4366f4b99 100644
--- a/tests/data/Makefile.inc
+++ b/tests/data/Makefile.inc
@@ -123,6 +123,7 @@ test1128 test1129 test1130 test1131 test1132 test1133 
test1134 test1135 \
 test1136 test1137 test1138 test1139 test1140 test1141 test1142 test1143 \
 test1144 test1145 test1146 test1147 test1148 test1149 test1150 test1151 \
 \
+test1160 \
 test1200 test1201 test1202 test1203 test1204 test1205 test1206 test1207 \
 test1208 test1209 test1210 test1211 test1212 test1213 test1214 test1215 \
 test1216 test1217 test1218 test1219 \
diff --git a/tests/data/test1160 b/tests/data/test1160
new file mode 100644
index 000000000..26a758c4e
--- /dev/null
+++ b/tests/data/test1160
@@ -0,0 +1,49 @@
+<testcase>
+<info>
+<keywords>
+HTTP
+HTTP GET
+cookies
+</keywords>
+</info>
+
+# Server-side
+<reply>
+
+<data>
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Content-Length: 0
+Set-Cookie:             �=         ;                                           
                                                                          �     
                                                                                
                                                                                
                                                                                
                                                                                
              [...]
+
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+http
+</server>
+ <name>
+HTTP with long funny format cookie
+ </name>
+ <command>
+http://%HOSTIP:%HTTPPORT/1160 -c log/cookies1160.txt
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<protocol>
+GET /1160 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Accept: */*
+
+</protocol>
+<file name="log/cookies1160.txt">
+</file>
+</verify>
+</testcase>

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]