summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-09-06 13:12:52 +0300
committerWolfy-J <[email protected]>2019-09-06 13:12:52 +0300
commit1d6b7c125c2d07c3ef646e9a90f3ebb422fa44df (patch)
tree44c06ab0e7e97c77b7c864b82e8d2ac96f906f8a /src
parent461db7f19195f70306e41e8920616c53eb00c1f3 (diff)
improving stability of travis tests due to slow tcp port release
Diffstat (limited to 'src')
-rw-r--r--src/PSR7Client.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PSR7Client.php b/src/PSR7Client.php
index cb3b7a7b..4efb3f04 100644
--- a/src/PSR7Client.php
+++ b/src/PSR7Client.php
@@ -133,7 +133,7 @@ class PSR7Client
{
$server = $this->originalServer;
- $server['REQUEST_URI'] = $rawRequest['ctx']['uri'];
+ $server['REQUEST_URI'] = $ctx['uri'];
$server['REQUEST_TIME'] = time();
$server['REQUEST_TIME_FLOAT'] = microtime(true);
$server['REMOTE_ADDR'] = $ctx['attributes']['ipAddress'] ?? $ctx['remoteAddr'] ?? '127.0.0.1';