1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 02:34:39 +01:00

Compare commits

..

No commits in common. "ba4853bb34d210e4427da07c76f9733fccea51cd" and "4b87e28c1921da4aff305b9743fd6f91325b84c7" have entirely different histories.

4 changed files with 1 additions and 4 deletions

View File

@ -51,7 +51,7 @@ final class API extends AbstractAPI
* *
* @var string * @var string
*/ */
public const RELEASE = '8.3.5'; public const RELEASE = '8.3.4';
/** /**
* We're not logged in. * We're not logged in.
* *

View File

@ -208,7 +208,6 @@ trait Files
} }
$request = new Request($url); $request = new Request($url);
$request->setTransferTimeout(INF); $request->setTransferTimeout(INF);
$request->setInactivityTimeout(INF);
$request->setBodySizeLimit(512 * 1024 * 8000); $request->setBodySizeLimit(512 * 1024 * 8000);
$response = $this->datacenter->getHTTPClient()->request($request, $cancellation); $response = $this->datacenter->getHTTPClient()->request($request, $cancellation);
if (($status = $response->getStatus()) !== 200) { if (($status = $response->getStatus()) !== 200) {

View File

@ -83,7 +83,6 @@ trait FilesAbstraction
self::$client ??= HttpClientBuilder::buildDefault(); self::$client ??= HttpClientBuilder::buildDefault();
$request = new Request($stream->url); $request = new Request($stream->url);
$request->setTransferTimeout(INF); $request->setTransferTimeout(INF);
$request->setInactivityTimeout(INF);
$request->setBodySizeLimit(512 * 1024 * 8000); $request->setBodySizeLimit(512 * 1024 * 8000);
$response = self::$client->request( $response = self::$client->request(
$request, $request,

View File

@ -644,7 +644,6 @@ abstract class Tools extends AsyncTools
self::$client ??= HttpClientBuilder::buildDefault(); self::$client ??= HttpClientBuilder::buildDefault();
$request = new Request($stream->url); $request = new Request($stream->url);
$request->setTransferTimeout(INF); $request->setTransferTimeout(INF);
$request->setInactivityTimeout(INF);
$stream = self::$client->request( $stream = self::$client->request(
$request, $request,
$cancellation $cancellation