File tree Expand file tree Collapse file tree 2 files changed +24
-5
lines changed Expand file tree Collapse file tree 2 files changed +24
-5
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
326326This 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
332332See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
333333
334334## Tests
335335
336336To 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
You can’t perform that action at this time.
0 commit comments