Skip to content

Commit 10f0629

Browse files
committed
Prepare v1.3.0 release
1 parent 1ca5104 commit 10f0629

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 1.3.0 (2019-07-10)
4+
5+
* Feature: Forward compatibility with upcoming stable DNS component.
6+
(#206 by @clue)
7+
38
## 1.2.1 (2019-06-03)
49

510
* Avoid uneeded fragmented TLS work around for PHP 7.3.3+ and

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ $second = new React\Socket\Server(8080, $loop);
407407
See the exception message and code for more details about the actual error
408408
condition.
409409

410-
Optionally, you can specify [TCP socket context options](http://php.net/manual/en/context.socket.php)
410+
Optionally, you can specify [TCP socket context options](https://www.php.net/manual/en/context.socket.php)
411411
for the underlying stream socket resource like this:
412412

413413
```php
@@ -420,7 +420,7 @@ $server = new React\Socket\Server('[::1]:8080', $loop, array(
420420
));
421421
```
422422

423-
> Note that available [socket context options](http://php.net/manual/en/context.socket.php),
423+
> Note that available [socket context options](https://www.php.net/manual/en/context.socket.php),
424424
their defaults and effects of changing these may vary depending on your system
425425
and/or PHP version.
426426
Passing unknown context options has no effect.
@@ -431,7 +431,7 @@ You can start a secure TLS (formerly known as SSL) server by simply prepending
431431
the `tls://` URI scheme.
432432
Internally, it will wait for plaintext TCP/IP connections and then performs a
433433
TLS handshake for each connection.
434-
It thus requires valid [TLS context options](http://php.net/manual/en/context.ssl.php),
434+
It thus requires valid [TLS context options](https://www.php.net/manual/en/context.ssl.php),
435435
which in its most basic form may look something like this if you're using a
436436
PEM encoded certificate file:
437437

@@ -473,7 +473,7 @@ $server = new React\Socket\Server('tls://127.0.0.1:8000', $loop, array(
473473
));
474474
```
475475

476-
> Note that available [TLS context options](http://php.net/manual/en/context.ssl.php),
476+
> Note that available [TLS context options](https://www.php.net/manual/en/context.ssl.php),
477477
their defaults and effects of changing these may vary depending on your system
478478
and/or PHP version.
479479
The outer context array allows you to also use `tcp` (and possibly more)
@@ -561,7 +561,7 @@ configuration.
561561
See the exception message and code for more details about the actual error
562562
condition.
563563

564-
Optionally, you can specify [socket context options](http://php.net/manual/en/context.socket.php)
564+
Optionally, you can specify [socket context options](https://www.php.net/manual/en/context.socket.php)
565565
for the underlying stream socket resource like this:
566566

567567
```php
@@ -572,7 +572,7 @@ $server = new React\Socket\TcpServer('[::1]:8080', $loop, array(
572572
));
573573
```
574574

575-
> Note that available [socket context options](http://php.net/manual/en/context.socket.php),
575+
> Note that available [socket context options](https://www.php.net/manual/en/context.socket.php),
576576
their defaults and effects of changing these may vary depending on your system
577577
and/or PHP version.
578578
Passing unknown context options has no effect.
@@ -598,7 +598,7 @@ and is responsible for providing a secure TLS (formerly known as SSL) server.
598598

599599
It does so by wrapping a [`TcpServer`](#tcpserver) instance which waits for plaintext
600600
TCP/IP connections and then performs a TLS handshake for each connection.
601-
It thus requires valid [TLS context options](http://php.net/manual/en/context.ssl.php),
601+
It thus requires valid [TLS context options](https://www.php.net/manual/en/context.ssl.php),
602602
which in its most basic form may look something like this if you're using a
603603
PEM encoded certificate file:
604604

@@ -637,7 +637,7 @@ $server = new React\Socket\SecureServer($server, $loop, array(
637637
));
638638
```
639639

640-
> Note that available [TLS context options](http://php.net/manual/en/context.ssl.php),
640+
> Note that available [TLS context options](https://www.php.net/manual/en/context.ssl.php),
641641
their defaults and effects of changing these may vary depending on your system
642642
and/or PHP version.
643643
Passing unknown context options has no effect.
@@ -1048,8 +1048,8 @@ $connector = new React\Socket\Connector($loop, array(
10481048
```
10491049

10501050
> For more details about context options, please refer to the PHP documentation
1051-
about [socket context options](http://php.net/manual/en/context.socket.php)
1052-
and [SSL context options](http://php.net/manual/en/context.ssl.php).
1051+
about [socket context options](https://www.php.net/manual/en/context.socket.php)
1052+
and [SSL context options](https://www.php.net/manual/en/context.ssl.php).
10531053

10541054
Advanced: By default, the `Connector` supports the `tcp://`, `tls://` and
10551055
`unix://` URI schemes.
@@ -1127,7 +1127,7 @@ resource, thus cancelling the pending TCP/IP connection, and reject the
11271127
resulting promise.
11281128

11291129
You can optionally pass additional
1130-
[socket context options](http://php.net/manual/en/context.socket.php)
1130+
[socket context options](https://www.php.net/manual/en/context.socket.php)
11311131
to the constructor like this:
11321132

11331133
```php
@@ -1239,7 +1239,7 @@ Calling `cancel()` on a pending promise will cancel the underlying TCP/IP
12391239
connection and/or the SSL/TLS negotiation and reject the resulting promise.
12401240

12411241
You can optionally pass additional
1242-
[SSL context options](http://php.net/manual/en/context.ssl.php)
1242+
[SSL context options](https://www.php.net/manual/en/context.ssl.php)
12431243
to the constructor like this:
12441244

12451245
```php
@@ -1354,7 +1354,7 @@ This project follows [SemVer](https://semver.org/).
13541354
This will install the latest supported version:
13551355

13561356
```bash
1357-
$ composer require react/socket:^1.2.1
1357+
$ composer require react/socket:^1.3
13581358
```
13591359

13601360
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.

src/SecureServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ final class SecureServer extends EventEmitter implements ServerInterface
113113
* @param array $context
114114
* @throws BadMethodCallException for legacy HHVM < 3.8 due to lack of support
115115
* @see TcpServer
116-
* @link http://php.net/manual/en/context.ssl.php for TLS context options
116+
* @link https://www.php.net/manual/en/context.ssl.php for TLS context options
117117
*/
118118
public function __construct(ServerInterface $tcp, LoopInterface $loop, array $context)
119119
{

src/TcpServer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ final class TcpServer extends EventEmitter implements ServerInterface
9898
* See the exception message and code for more details about the actual error
9999
* condition.
100100
*
101-
* Optionally, you can specify [socket context options](http://php.net/manual/en/context.socket.php)
101+
* Optionally, you can specify [socket context options](https://www.php.net/manual/en/context.socket.php)
102102
* for the underlying stream socket resource like this:
103103
*
104104
* ```php
@@ -109,7 +109,7 @@ final class TcpServer extends EventEmitter implements ServerInterface
109109
* ));
110110
* ```
111111
*
112-
* Note that available [socket context options](http://php.net/manual/en/context.socket.php),
112+
* Note that available [socket context options](https://www.php.net/manual/en/context.socket.php),
113113
* their defaults and effects of changing these may vary depending on your system
114114
* and/or PHP version.
115115
* Passing unknown context options has no effect.

0 commit comments

Comments
 (0)