Git Product home page Git Product logo

Comments (2)

clue avatar clue commented on June 11, 2024

@matheusb-comp Thank you for reporting, I can indeed reproduce the problem you're seeing provided all of the following prerequisites are met:

  • Creating a connection that fails (e.g. connection refused) and
  • ext-sockets is not available (installed by default on most platforms) and
  • Running on Linux (#266 specifically targets Linux only) and
  • Using a global error handler (set_error_handler())

I've started looking into this and will file a PR as soon as time permits coming up with some reproducible test cases. Expect an update no later than a week or two.

In the meantime, it should be easy enough to work around this by making sure any of the items from the above list are no longer true, e.g. by installing ext-sockets.

from socket.

matheusb-comp avatar matheusb-comp commented on June 11, 2024
  • ext-sockets is not available (installed by default on most platforms)

The code is running inside a Docker container that does not have the sockets module by default.
Thanks for the help, after installing the module it no longer fails.

Default PHP modules on php:7-fpm-alpine
$ docker run --rm -it --entrypoint sh php:7-fpm-alpine
/var/www/html # php -m
[PHP Modules]
Core
ctype
curl
date
dom
fileinfo
filter
ftp
hash
iconv
json
libxml
mbstring
mysqlnd
openssl
pcre
PDO
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
sodium
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

[Zend Modules]

from socket.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.