From 00a86836584245b6fa6d2ef512a7c42ca96d9940 Mon Sep 17 00:00:00 2001 From: whale Date: Wed, 10 Jun 2020 13:23:40 +0800 Subject: [PATCH] update to 1.5.3 version fix linux terminal input bug --- src/Framework/Console.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Framework/Console.php b/src/Framework/Console.php index 4f24b2e3..8686f3d1 100755 --- a/src/Framework/Console.php +++ b/src/Framework/Console.php @@ -184,7 +184,7 @@ class Console $vss->callback = function(?WSConnection $conn) use ($terminal_id){ $req = ctx()->getRequest(); if($conn->getType() != "terminal") return false; - if(($req->header["x-terminal-id"] ?? "") != $terminal_id || ($req->header["x-pid"] ?? "") != posix_getpid()) { + if(($req->header["x-terminal-id"] ?? "") != $terminal_id) { $conn->close(); return false; }