summaryrefslogtreecommitdiff
path: root/tests/plugins/server/tcp.php
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-02-18 16:44:24 +0300
committerGitHub <[email protected]>2021-02-18 16:44:24 +0300
commit9fd1ab79d2c82605747e960014f68e95234a9eeb (patch)
tree84638cc3c347fb1a344e48ee01b55abdd849362a /tests/plugins/server/tcp.php
parent8731107ad4e23004500b04442ed8fba0242dfbf2 (diff)
parent546b350a35b35af9eecb61aab5f7bcbbaffd449f (diff)
Merge branch 'master' into dependabot/go_modules/github.com/alicebob/miniredis/v2-2.14.3
Diffstat (limited to 'tests/plugins/server/tcp.php')
-rw-r--r--tests/plugins/server/tcp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/server/tcp.php b/tests/plugins/server/tcp.php
index 88c49848..873f25b2 100644
--- a/tests/plugins/server/tcp.php
+++ b/tests/plugins/server/tcp.php
@@ -13,7 +13,7 @@ $rr = new RoadRunner\Worker($relay);
while ($in = $rr->waitPayload()) {
try {
- $rr->send((string)$in->body);
+ $rr->respond(new RoadRunner\Payload((string)$in->body));
} catch (\Throwable $e) {
$rr->error((string)$e);
}