File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 66
77 > PHP version ` ^7.4|^8.0 `
88
9+ ### ` 1.6. `
10+
11+ * Fix issue where port was missing in socker uri (@sirn-se )
12+
913### ` 1.6.1 `
1014
1115 * Fix client path for http request (@simPod , @sirn-se )
Original file line number Diff line number Diff line change @@ -305,10 +305,12 @@ protected function connect(): void
305305 {
306306 $ this ->connection = null ;
307307
308- $ host_uri = (new Uri ())
309- ->withHost ($ this ->socket_uri ->getHost ())
308+ $ host_uri = $ this ->socket_uri
310309 ->withScheme ($ this ->socket_uri ->getScheme () == 'wss ' ? 'ssl ' : 'tcp ' )
311- ->withPort ($ this ->socket_uri ->getPort ());
310+ ->withPath ('' )
311+ ->withQuery ('' )
312+ ->withFragment ('' )
313+ ->withUserInfo ('' );
312314
313315 // Path must be absolute
314316 $ http_path = $ this ->socket_uri ->getPath ();
You can’t perform that action at this time.
0 commit comments