summaryrefslogtreecommitdiff
path: root/tests/http
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-26 15:30:16 +0300
committerGitHub <[email protected]>2020-11-26 15:30:16 +0300
commitee68279e68ab854ae313fc84ea6a2a905133da87 (patch)
treef0731b1bbbc996347060e8c88d49616090877a65 /tests/http
parent0a48a027642a34c560717526c55f70b7260d678c (diff)
parent7ef7ce5859be3b30476167ee9a2d9d3b0092259a (diff)
Merge pull request #400 from spiral/plugin/http
[RR2] New http plugin for the RR 2.0
Diffstat (limited to 'tests/http')
-rw-r--r--[-rwxr-xr-x]tests/http/client.php0
-rw-r--r--[-rwxr-xr-x]tests/http/cookie.php0
-rw-r--r--[-rwxr-xr-x]tests/http/data.php0
-rw-r--r--[-rwxr-xr-x]tests/http/echo.php0
-rw-r--r--[-rwxr-xr-x]tests/http/echoDelay.php0
-rw-r--r--[-rwxr-xr-x]tests/http/echoerr.php0
-rw-r--r--[-rwxr-xr-x]tests/http/env.php0
-rw-r--r--[-rwxr-xr-x]tests/http/error.php0
-rw-r--r--[-rwxr-xr-x]tests/http/error2.php0
-rw-r--r--[-rwxr-xr-x]tests/http/header.php0
-rw-r--r--[-rwxr-xr-x]tests/http/headers.php0
-rw-r--r--[-rwxr-xr-x]tests/http/ip.php0
-rw-r--r--[-rwxr-xr-x]tests/http/memleak.php0
-rw-r--r--[-rwxr-xr-x]tests/http/payload.php0
-rw-r--r--[-rwxr-xr-x]tests/http/pid.php0
-rw-r--r--[-rwxr-xr-x]tests/http/push.php0
-rw-r--r--[-rwxr-xr-x]tests/http/request-uri.php0
-rw-r--r--[-rwxr-xr-x]tests/http/server.php0
-rw-r--r--[-rwxr-xr-x]tests/http/slow-client.php0
-rw-r--r--[-rwxr-xr-x]tests/http/stuck.php0
-rw-r--r--[-rwxr-xr-x]tests/http/upload.php2
-rw-r--r--[-rwxr-xr-x]tests/http/user-agent.php0
22 files changed, 1 insertions, 1 deletions
diff --git a/tests/http/client.php b/tests/http/client.php
index 9f21b273..9f21b273 100755..100644
--- a/tests/http/client.php
+++ b/tests/http/client.php
diff --git a/tests/http/cookie.php b/tests/http/cookie.php
index 97673ef5..97673ef5 100755..100644
--- a/tests/http/cookie.php
+++ b/tests/http/cookie.php
diff --git a/tests/http/data.php b/tests/http/data.php
index 6570936a..6570936a 100755..100644
--- a/tests/http/data.php
+++ b/tests/http/data.php
diff --git a/tests/http/echo.php b/tests/http/echo.php
index 08e29a26..08e29a26 100755..100644
--- a/tests/http/echo.php
+++ b/tests/http/echo.php
diff --git a/tests/http/echoDelay.php b/tests/http/echoDelay.php
index 78e85477..78e85477 100755..100644
--- a/tests/http/echoDelay.php
+++ b/tests/http/echoDelay.php
diff --git a/tests/http/echoerr.php b/tests/http/echoerr.php
index 7e1d05e7..7e1d05e7 100755..100644
--- a/tests/http/echoerr.php
+++ b/tests/http/echoerr.php
diff --git a/tests/http/env.php b/tests/http/env.php
index 3755bdea..3755bdea 100755..100644
--- a/tests/http/env.php
+++ b/tests/http/env.php
diff --git a/tests/http/error.php b/tests/http/error.php
index 527e4068..527e4068 100755..100644
--- a/tests/http/error.php
+++ b/tests/http/error.php
diff --git a/tests/http/error2.php b/tests/http/error2.php
index 12a672ac..12a672ac 100755..100644
--- a/tests/http/error2.php
+++ b/tests/http/error2.php
diff --git a/tests/http/header.php b/tests/http/header.php
index 393d9623..393d9623 100755..100644
--- a/tests/http/header.php
+++ b/tests/http/header.php
diff --git a/tests/http/headers.php b/tests/http/headers.php
index b6f3967a..b6f3967a 100755..100644
--- a/tests/http/headers.php
+++ b/tests/http/headers.php
diff --git a/tests/http/ip.php b/tests/http/ip.php
index 49eb9285..49eb9285 100755..100644
--- a/tests/http/ip.php
+++ b/tests/http/ip.php
diff --git a/tests/http/memleak.php b/tests/http/memleak.php
index 197a7fb1..197a7fb1 100755..100644
--- a/tests/http/memleak.php
+++ b/tests/http/memleak.php
diff --git a/tests/http/payload.php b/tests/http/payload.php
index b7a0311f..b7a0311f 100755..100644
--- a/tests/http/payload.php
+++ b/tests/http/payload.php
diff --git a/tests/http/pid.php b/tests/http/pid.php
index f22d8e23..f22d8e23 100755..100644
--- a/tests/http/pid.php
+++ b/tests/http/pid.php
diff --git a/tests/http/push.php b/tests/http/push.php
index d88fc076..d88fc076 100755..100644
--- a/tests/http/push.php
+++ b/tests/http/push.php
diff --git a/tests/http/request-uri.php b/tests/http/request-uri.php
index d4c87551..d4c87551 100755..100644
--- a/tests/http/request-uri.php
+++ b/tests/http/request-uri.php
diff --git a/tests/http/server.php b/tests/http/server.php
index 393d9623..393d9623 100755..100644
--- a/tests/http/server.php
+++ b/tests/http/server.php
diff --git a/tests/http/slow-client.php b/tests/http/slow-client.php
index 4d3963d7..4d3963d7 100755..100644
--- a/tests/http/slow-client.php
+++ b/tests/http/slow-client.php
diff --git a/tests/http/stuck.php b/tests/http/stuck.php
index 2dea0572..2dea0572 100755..100644
--- a/tests/http/stuck.php
+++ b/tests/http/stuck.php
diff --git a/tests/http/upload.php b/tests/http/upload.php
index bb4af766..57526246 100755..100644
--- a/tests/http/upload.php
+++ b/tests/http/upload.php
@@ -24,7 +24,7 @@ function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): Re
'size' => $v->getSize(),
'mime' => $v->getClientMediaType(),
'error' => $v->getError(),
- 'md5' => md5($v->getStream()->__toString()),
+ 'sha512' => hash('sha512', $v->getStream()->__toString()),
];
}
});
diff --git a/tests/http/user-agent.php b/tests/http/user-agent.php
index 03d7a2c8..03d7a2c8 100755..100644
--- a/tests/http/user-agent.php
+++ b/tests/http/user-agent.php