amphp / http-client

An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.

Home Page:https://amphp.org/http-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

5.x: Undefined array key 1689, Http2ConnectionProcessor.php:1316

PNixx opened this issue · comments

I catch in EventLoop::setErrorHandler this error.

Could you please also post the stack trace?

#0 /project/shared/vendor/amphp/http-client/src/Connection/Internal/Http2ConnectionProcessor.php(1316): Project\Worker\AbstractWorker->errorHandler()
#1 /project/shared/vendor/amphp/http-client/src/Connection/Internal/Http2ConnectionProcessor.php(1569): Amp\Http\Client\Connection\Internal\Http2ConnectionProcessor->releaseStream()
#2 /project/shared/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(577): Amp\Http\Client\Connection\Internal\Http2ConnectionProcessor->Amp\Http\Client\Connection\Internal\{closure}()
#3 [internal function]: Revolt\EventLoop\Internal\AbstractDriver->Revolt\EventLoop\Internal\{closure}()
#4 /project/shared/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(478): Fiber->resume()
#5 /project/shared/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(533): Revolt\EventLoop\Internal\AbstractDriver->invokeCallbacks()
#6 [internal function]: Revolt\EventLoop\Internal\AbstractDriver->Revolt\EventLoop\Internal\{closure}()
#7 /project/shared/vendor/revolt/event-loop/src/EventLoop/Internal/AbstractDriver.php(105): Fiber->resume()
#8 /project/shared/vendor/revolt/event-loop/src/EventLoop/Driver/EventDriver.php(119): Revolt\EventLoop\Internal\AbstractDriver->run()

Is this something you can reliably reproduce? Does 994b29f fix it?

I need time to check it out

I'll close it then. If the problem appears again, please comment.