Skip to content

Commit 06bc84c

Browse files
committed
Prepare v1.2.0 release
1 parent 1b23773 commit 06bc84c

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

CHANGELOG.md

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

3+
## 1.2.0 (2017-08-30)
4+
5+
* Feature: Use socket error codes for connection rejections
6+
(#17 by @clue)
7+
8+
```php
9+
$promise = $proxy->connect('imap.example.com:143');
10+
$promise->then(null, function (Exeption $e) {
11+
if ($e->getCode() === SOCKET_EACCES) {
12+
echo 'Failed to authenticate with proxy!';
13+
}
14+
throw $e;
15+
});
16+
```
17+
18+
* Improve test suite by locking Travis distro so new defaults will not break the build and
19+
optionally exclude tests that rely on working internet connection
20+
(#15 and #16 by @clue)
21+
322
## 1.1.0 (2017-06-11)
423

524
* Feature: Support proxy authentication if proxy URL contains username/password

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# clue/http-proxy-react [![Build Status](https://travis-ci.org/clue/php-http-proxy-react.svg?branch=master)](https://travis-ci.org/clue/php-http-proxy-react)
22

3-
Async HTTP CONNECT proxy connector, use any TCP/IP protocol through an HTTP proxy server, built on top of ReactPHP.
3+
Async HTTP CONNECT proxy connector, use any TCP/IP protocol through an HTTP proxy server, built on top of [ReactPHP](http://reactphp.org).
44

55
**Table of contents**
66

@@ -320,21 +320,21 @@ $proxy->connect('tcp://smtp.googlemail.com:587');
320320

321321
## Install
322322

323-
The recommended way to install this library is [through Composer](http://getcomposer.org).
324-
[New to Composer?](http://getcomposer.org/doc/00-intro.md)
323+
The recommended way to install this library is [through Composer](https://getcomposer.org).
324+
[New to Composer?](https://getcomposer.org/doc/00-intro.md)
325325

326326
This will install the latest supported version:
327327

328328
```bash
329-
$ composer require clue/http-proxy-react:^1.1
329+
$ composer require clue/http-proxy-react:^1.2
330330
```
331331

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

334334
## Tests
335335

336336
To run the test suite, you first need to clone this repo and then install all
337-
dependencies [through Composer](http://getcomposer.org):
337+
dependencies [through Composer](https://getcomposer.org):
338338

339339
```bash
340340
$ composer install

0 commit comments

Comments
 (0)