summaryrefslogtreecommitdiff
path: root/tests/head.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/head.php')
-rw-r--r--tests/head.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/head.php b/tests/head.php
index 3c57258f..80733166 100644
--- a/tests/head.php
+++ b/tests/head.php
@@ -10,7 +10,7 @@ $rr = new RoadRunner\Worker($relay);
while ($in = $rr->waitPayload()) {
try {
- $rr->send("", (string)$in->header);
+ $rr->respond(new RoadRunner\Payload("", (string)$in->header));
} catch (\Throwable $e) {
$rr->error((string)$e);
}