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 6
6
7
7
> PHP version ` ^7.4|^8.0 `
8
8
9
+ ### ` 1.6. `
10
+
11
+ * Fix issue where port was missing in socker uri (@sirn-se )
12
+
9
13
### ` 1.6.1 `
10
14
11
15
* 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
305
305
{
306
306
$ this ->connection = null ;
307
307
308
- $ host_uri = (new Uri ())
309
- ->withHost ($ this ->socket_uri ->getHost ())
308
+ $ host_uri = $ this ->socket_uri
310
309
->withScheme ($ this ->socket_uri ->getScheme () == 'wss ' ? 'ssl ' : 'tcp ' )
311
- ->withPort ($ this ->socket_uri ->getPort ());
310
+ ->withPath ('' )
311
+ ->withQuery ('' )
312
+ ->withFragment ('' )
313
+ ->withUserInfo ('' );
312
314
313
315
// Path must be absolute
314
316
$ http_path = $ this ->socket_uri ->getPath ();
You can’t perform that action at this time.
0 commit comments