Giter Site home page Giter Site logo

Comments (6)

carnil avatar carnil commented on July 30, 2024 1

This now has been reported in downstreams (here in Debian as https://bugs.debian.org/954371) after 1.1.1e based version entered unstable.

from p5-io-socket-ssl.

pghmcfc avatar pghmcfc commented on July 30, 2024

The attached patch is a starting point for getting this working, and needs to be used in conjunction with radiator-software/p5-net-ssleay#161 applied to Net::SSLeay. It's a bit of a hack but it gets the test suite passing for me.
IO-Socket-SSL-2.067-openssl-1.1.1e.patch.txt

from p5-io-socket-ssl.

noxxi avatar noxxi commented on July 30, 2024

I'm not happy with the patch in the current form. It just does something without any kind of information about and explanation of the underlying issue and it seems to require some strange fix to a test. The latter actually means that the patch might also require such strange fixes to normal user programs. Such a behavior change is not what users expect and should be prevented whenever possible.

from p5-io-socket-ssl.

pghmcfc avatar pghmcfc commented on July 30, 2024

@noxxi, yes I know, which is why I described it as a starting point. It at least indicates where to look for a better fix, which would probably involve checking for the new SSL_R_UNEXPECTED_EOF_WHILE_READING error from OpenSSL so as to be sure about the cause.
As for the test, maybe it really needs fixing in Net::SSLeay but I don't know enough about this code to understand it properly.

from p5-io-socket-ssl.

noxxi avatar noxxi commented on July 30, 2024

Part or even all of the problem seems to come from a behavior change in OpenSSL 1.1.1e which I consider a bug and have filed as such, see openssl/openssl#11388 . I'll wait for a reaction to this bug report before deciding how to best deal with the issue.

from p5-io-socket-ssl.

noxxi avatar noxxi commented on July 30, 2024

It looks like it is accepted now that OpenSSL 1.1.1e broke some stuff here (affects nginx, Python, ruby...) and it looks like these changes get reverted. Therefore I check for OpenSSL 1.1.1e now in Makefile.PL and refuse to build when detected: IO::Socket::SSL version 2.068, see 2c124d4. This should work around the problem and hopefully all is fixed again in OpenSSL 1.1.1f.

from p5-io-socket-ssl.

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.