Skip to content

Commit

Permalink
Use CombinedCancellationToken from Amp v2.2.0
Browse files Browse the repository at this point in the history
I've moved the current implementation into the amphp/amp package and made it non-internal.
  • Loading branch information
kelunik committed Aug 2, 2019
1 parent b416ab9 commit 0eb48fe
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 85 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"require": {
"php": ">=7.1",
"amphp/amp": "^2",
"amphp/amp": "^2.2",
"amphp/byte-stream": "^1.6",
"amphp/hpack": "^2",
"amphp/http": "^1.3",
Expand Down
2 changes: 1 addition & 1 deletion src/Connection/DefaultConnectionPool.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Amp\ByteStream\StreamException;
use Amp\CancellationToken;
use Amp\CancelledException;
use Amp\Http\Client\Internal\CombinedCancellationToken;
use Amp\CombinedCancellationToken;
use Amp\Http\Client\Request;
use Amp\Http\Client\SocketException;
use Amp\Http\Client\TimeoutException;
Expand Down
2 changes: 1 addition & 1 deletion src/Connection/Http1Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
use Amp\CancellationToken;
use Amp\CancellationTokenSource;
use Amp\CancelledException;
use Amp\CombinedCancellationToken;
use Amp\Deferred;
use Amp\Emitter;
use Amp\Http;
use Amp\Http\Client\Connection\Internal\Http1Parser;
use Amp\Http\Client\HttpException;
use Amp\Http\Client\Internal\CombinedCancellationToken;
use Amp\Http\Client\Internal\ResponseBodyStream;
use Amp\Http\Client\ParseException;
use Amp\Http\Client\Request;
Expand Down
82 changes: 0 additions & 82 deletions src/Internal/CombinedCancellationToken.php

This file was deleted.

0 comments on commit 0eb48fe

Please sign in to comment.