Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssl: retry write on EPROTOTYPE on macOS #393

Merged
merged 1 commit into from
Aug 12, 2020

Commits on Aug 12, 2020

  1. ssl: retry write on EPROTOTYPE on macOS

    Errno::EPROTOTYPE is not supposed to be raised by SSLSocket#write.
    However, on macOS, send(2) which is called via SSL_write() can
    occasionally return EPROTOTYPE. Retry SSL_write() so that we get a
    proper error, just as ext/socket does.
    
    Reference: https://bugs.ruby-lang.org/issues/14713
    Reference: ruby#227
    rhenium committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    2e700c8 View commit details
    Browse the repository at this point in the history