Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
26546ec3
Commit
26546ec3
authored
Apr 23, 2014
by
Dag Haavi Finstad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
varnishtest txresp reason phrase 'Ok' -> 'OK'
parent
35308a3c
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
30 additions
and
30 deletions
+30
-30
a00001.vtc
bin/varnishtest/tests/a00001.vtc
+1
-1
a00003.vtc
bin/varnishtest/tests/a00003.vtc
+1
-1
a00005.vtc
bin/varnishtest/tests/a00005.vtc
+1
-1
b00007.vtc
bin/varnishtest/tests/b00007.vtc
+2
-2
b00011.vtc
bin/varnishtest/tests/b00011.vtc
+1
-1
b00020.vtc
bin/varnishtest/tests/b00020.vtc
+2
-2
b00021.vtc
bin/varnishtest/tests/b00021.vtc
+2
-2
b00022.vtc
bin/varnishtest/tests/b00022.vtc
+2
-2
b00027.vtc
bin/varnishtest/tests/b00027.vtc
+1
-1
c00013.vtc
bin/varnishtest/tests/c00013.vtc
+1
-1
c00014.vtc
bin/varnishtest/tests/c00014.vtc
+1
-1
c00066.vtc
bin/varnishtest/tests/c00066.vtc
+1
-1
e00007.vtc
bin/varnishtest/tests/e00007.vtc
+1
-1
e00014.vtc
bin/varnishtest/tests/e00014.vtc
+1
-1
l00002.vtc
bin/varnishtest/tests/l00002.vtc
+3
-3
l00003.vtc
bin/varnishtest/tests/l00003.vtc
+1
-1
l00004.vtc
bin/varnishtest/tests/l00004.vtc
+1
-1
l00005.vtc
bin/varnishtest/tests/l00005.vtc
+1
-1
p00007.vtc
bin/varnishtest/tests/p00007.vtc
+1
-1
r00387.vtc
bin/varnishtest/tests/r00387.vtc
+1
-1
r00694.vtc
bin/varnishtest/tests/r00694.vtc
+1
-1
r00733.vtc
bin/varnishtest/tests/r00733.vtc
+1
-1
r01419.vtc
bin/varnishtest/tests/r01419.vtc
+1
-1
vtc_http.c
bin/varnishtest/vtc_http.c
+1
-1
No files found.
bin/varnishtest/tests/a00001.vtc
View file @
26546ec3
...
...
@@ -15,7 +15,7 @@ client c1 -connect ${s1_sock} {
rxresp
expect resp.proto == HTTP/1.1
expect resp.status == 200
expect resp.msg == O
k
expect resp.msg == O
K
}
client c1 -run
...
...
bin/varnishtest/tests/a00003.vtc
View file @
26546ec3
...
...
@@ -32,7 +32,7 @@ client c2 -connect ${s2_sock} {
rxresp
expect resp.proto == HTTP/1.1
expect resp.status == 200
expect resp.msg == O
k
expect resp.msg == O
K
}
client c1 -start
...
...
bin/varnishtest/tests/a00005.vtc
View file @
26546ec3
...
...
@@ -34,7 +34,7 @@ client c1 -connect ${s2_sock} {
rxresp
expect resp.proto == HTTP/1.1
expect resp.status == 200
expect resp.msg == O
k
expect resp.msg == O
K
}
client c1 -run
...
...
bin/varnishtest/tests/b00007.vtc
View file @
26546ec3
...
...
@@ -3,7 +3,7 @@ varnishtest "Check chunked encoding from backend works"
server s1 {
rxreq
expect req.url == "/bar"
send "HTTP/1.1 200 O
k
\r\n"
send "HTTP/1.1 200 O
K
\r\n"
send "Transfer-encoding: chunked\r\n"
send "\r\n"
send "00000004\r\n1234\r\n"
...
...
@@ -12,7 +12,7 @@ server s1 {
rxreq
expect req.url == "/foo"
send "HTTP/1.1 200 O
k
\r\n"
send "HTTP/1.1 200 O
K
\r\n"
send "Transfer-encoding: chunked\r\n"
send "\r\n"
send "00000004\r\n1234\r\n"
...
...
bin/varnishtest/tests/b00011.vtc
View file @
26546ec3
...
...
@@ -2,7 +2,7 @@ varnishtest "Check HTTP/1.0 EOF transmission"
server s1 {
rxreq
send "HTTP/1.1 200 O
k
\n"
send "HTTP/1.1 200 O
K
\n"
send "Connection: close\n"
send "\n"
send "Body line 1\n"
...
...
bin/varnishtest/tests/b00020.vtc
View file @
26546ec3
...
...
@@ -4,7 +4,7 @@ feature SO_RCVTIMEO_WORKS
server s1 {
rxreq
send "HTTP/1.1 200 O
k
\r\nConnection: close\r\n\r\n"
send "HTTP/1.1 200 O
K
\r\nConnection: close\r\n\r\n"
delay 1.5
# send "Baba\n"
} -start
...
...
@@ -29,7 +29,7 @@ varnish v1 -expect n_objectcore == 0
server s1 -wait {
rxreq
send "HTTP/1.1 200 O
k
\r\nConnection: close\r\n\r\n"
send "HTTP/1.1 200 O
K
\r\nConnection: close\r\n\r\n"
delay 0.5
send "Baba\n"
delay 0.5
...
...
bin/varnishtest/tests/b00021.vtc
View file @
26546ec3
...
...
@@ -4,7 +4,7 @@ feature SO_RCVTIMEO_WORKS
server s1 {
rxreq
send "HTTP/1.1 200 O
k
\r\nConnection: close\r\n\r\n"
send "HTTP/1.1 200 O
K
\r\nConnection: close\r\n\r\n"
delay 4.0
send "Baba\n"
} -start
...
...
@@ -26,7 +26,7 @@ client c1 {
server s1 {
rxreq
send "HTTP/1.1 200 O
k
\r\nConnection: close\r\n\r\n"
send "HTTP/1.1 200 O
K
\r\nConnection: close\r\n\r\n"
delay 1.0
send "Baba\n"
delay 1.0
...
...
bin/varnishtest/tests/b00022.vtc
View file @
26546ec3
...
...
@@ -4,7 +4,7 @@ feature SO_RCVTIMEO_WORKS
server s1 {
rxreq
send "HTTP/1.1 200 O
k
\r\nConnection: close\r\n\r\n"
send "HTTP/1.1 200 O
K
\r\nConnection: close\r\n\r\n"
delay 1.5
send "Baba\n"
} -start
...
...
@@ -28,7 +28,7 @@ client c1 {
server s1 {
rxreq
send "HTTP/1.1 200 O
k
\r\nConnection: close\r\n\r\n"
send "HTTP/1.1 200 O
K
\r\nConnection: close\r\n\r\n"
delay 0.5
send "Baba\n"
delay 0.5
...
...
bin/varnishtest/tests/b00027.vtc
View file @
26546ec3
...
...
@@ -6,7 +6,7 @@ server s1 {
rxreq
txresp -proto HTTP/1.0 -hdr "Connection: keep-alive"
rxreq
send "HTTP/1.1 200 O
k
\n"
send "HTTP/1.1 200 O
K
\n"
send "Transfer-encoding: foobar\n"
send "\n"
} -start
...
...
bin/varnishtest/tests/c00013.vtc
View file @
26546ec3
...
...
@@ -3,7 +3,7 @@ varnishtest "Test parking second request on backend delay"
server s1 {
rxreq
expect req.url == "/foo"
send "HTTP/1.1 200 O
k
\r\nConnection: close\r\n\r\n"
send "HTTP/1.1 200 O
K
\r\nConnection: close\r\n\r\n"
delay .2
sema r1 sync 2
delay .2
...
...
bin/varnishtest/tests/c00014.vtc
View file @
26546ec3
...
...
@@ -4,7 +4,7 @@ server s1 {
rxreq
expect req.url == "/foo"
sema r1 sync 2
send "HTTP/1.1 200 O
k
\r\nContent-Length: 12\r\n\r\n"
send "HTTP/1.1 200 O
K
\r\nContent-Length: 12\r\n\r\n"
send "line1\n"
send "line2\n"
...
...
bin/varnishtest/tests/c00066.vtc
View file @
26546ec3
...
...
@@ -43,7 +43,7 @@ client c1 {
txreq -url "/"
rxresp
expect resp.status == 200
expect resp.msg == "O
k
"
expect resp.msg == "O
K
"
txreq -url "/synth"
rxresp
...
...
bin/varnishtest/tests/e00007.vtc
View file @
26546ec3
...
...
@@ -16,7 +16,7 @@ varnishtest "ESI spanning storage bits"
server s1 {
rxreq
expect req.url == "/foo/bar"
send "HTTP/1.1 200 O
k
\n"
send "HTTP/1.1 200 O
K
\n"
send "Connection: close\n"
send "\n"
send {
...
...
bin/varnishtest/tests/e00014.vtc
View file @
26546ec3
...
...
@@ -3,7 +3,7 @@ varnishtest "Check <esi: detector"
server s1 {
rxreq
expect req.url == "/foo"
send "HTTP/1.1 200 O
k
\n"
send "HTTP/1.1 200 O
K
\n"
send "Connection: close\n"
send "\n"
send { <a> <esi/> }
...
...
bin/varnishtest/tests/l00002.vtc
View file @
26546ec3
...
...
@@ -28,7 +28,7 @@ varnish v1 -vcl+backend {
# \r\n 2 bytes
# Total: 38 bytes
# Response:
# HTTP/1.1 200 O
k
\r\n 17 bytes
# HTTP/1.1 200 O
K
\r\n 17 bytes
# Content-Length: 1000\r\n 22 bytes
# Connection: keep-alive\r\n 24 bytes
# Accept-Ranges: bytes\r\n 22 bytes
...
...
@@ -40,7 +40,7 @@ varnish v1 -vcl+backend {
# \r\n 2 bytes
# Total: 19 bytes
# Response:
# HTTP/1.1 200 O
k
\r\n 17 bytes
# HTTP/1.1 200 O
K
\r\n 17 bytes
# Content-Length: 2000\r\n 22 bytes
# Connection: keep-alive\r\n 24 bytes
# Accept-Ranges: bytes\r\n 22 bytes
...
...
@@ -52,7 +52,7 @@ varnish v1 -vcl+backend {
# \r\n 2 bytes
# Total: 19 bytes
# Response:
# HTTP/1.1 200 O
k
\r\n 17 bytes
# HTTP/1.1 200 O
K
\r\n 17 bytes
# Content-Length: 2000\r\n 22 bytes
# Connection: keep-alive\r\n 24 bytes
# Accept-Ranges: bytes\r\n 22 bytes
...
...
bin/varnishtest/tests/l00003.vtc
View file @
26546ec3
...
...
@@ -32,7 +32,7 @@ varnish v1 -vcl+backend {
# Total: 18 bytes
# Reponse:
# HTTP/1.1 200 O
k
\r\n 17 bytes
# HTTP/1.1 200 O
K
\r\n 17 bytes
# Transfer-Encoding: chunked\r\n 28 bytes
# Connection: keep-alive\r\n 24 bytes
# \r\n 2 bytes
...
...
bin/varnishtest/tests/l00004.vtc
View file @
26546ec3
...
...
@@ -37,7 +37,7 @@ varnish v1 -vcl+backend {
# asdf 4 bytes
# resp:
# HTTP/1.1 200 O
k
\r\n 17 bytes
# HTTP/1.1 200 O
K
\r\n 17 bytes
# Content-Length: 4\r\n 19 bytes
# \r\n 2 bytes
# fdsa 4 bytes
...
...
bin/varnishtest/tests/l00005.vtc
View file @
26546ec3
...
...
@@ -28,7 +28,7 @@ varnish v1 -vcl+backend {
# \r\n 2 bytes
# Total: 54 bytes
# Response:
# HTTP/1.1 200 O
k
\r\n 17 bytes
# HTTP/1.1 200 O
K
\r\n 17 bytes
# Content-Length: 1000\r\n 22 bytes
# \r\n 2 bytes
# Total: 41 bytes
...
...
bin/varnishtest/tests/p00007.vtc
View file @
26546ec3
...
...
@@ -3,7 +3,7 @@ varnishtest "test reload of object spanning incomplete segment"
server s1 {
rxreq
expect req.url == "/1"
send "HTTP/1.1 200 O
k
\n"
send "HTTP/1.1 200 O
K
\n"
send "Transfer-encoding: chunked\n"
send "\n"
chunkedlen 32
...
...
bin/varnishtest/tests/r00387.vtc
View file @
26546ec3
...
...
@@ -3,7 +3,7 @@ varnishtest "Regression test for #387: too long chunk header"
server s1 {
rxreq
non-fatal
send "HTTP/1.1 200 O
k
\r\n"
send "HTTP/1.1 200 O
K
\r\n"
send "Transfer-encoding: chunked\r\n"
send "\r\n"
send "004\r\n1234\r\n"
...
...
bin/varnishtest/tests/r00694.vtc
View file @
26546ec3
...
...
@@ -2,7 +2,7 @@ varnishtest "Wrong calculation of last storage segment length"
server s1 {
rxreq
send "HTTP/1.1 200 O
k
\r\n"
send "HTTP/1.1 200 O
K
\r\n"
send "Transfer-encoding: chunked\r\n"
send "\r\n"
# This is chunksize (128k) + 2 to force to chunks to be allocated
...
...
bin/varnishtest/tests/r00733.vtc
View file @
26546ec3
...
...
@@ -2,7 +2,7 @@ varnishtest "HTTP/1.1 Backend sends no length hint"
server s1 {
rxreq
send "HTTP/1.1 200 O
k
\n"
send "HTTP/1.1 200 O
K
\n"
send "\n"
send "12345"
} -start
...
...
bin/varnishtest/tests/r01419.vtc
View file @
26546ec3
...
...
@@ -2,7 +2,7 @@ varnishtest "Make sure banlurker skips busy objects"
server s1 {
rxreq
send "HTTP/1.0 200 O
k
\r\n"
send "HTTP/1.0 200 O
K
\r\n"
sema r1 sync 2
send "Foobar: blaf\r\n"
send "Content-Length: 10\r\n"
...
...
bin/varnishtest/vtc_http.c
View file @
26546ec3
...
...
@@ -760,7 +760,7 @@ cmd_http_txresp(CMD_ARGS)
struct
http
*
hp
;
const
char
*
proto
=
"HTTP/1.1"
;
const
char
*
status
=
"200"
;
const
char
*
msg
=
"O
k
"
;
const
char
*
msg
=
"O
K
"
;
char
*
body
=
NULL
;
(
void
)
cmd
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment