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

Raise EPIPE for all unseekable channels #7415

Open
wants to merge 1 commit into
base: jruby-9.3
Choose a base branch
from

Commits on Oct 17, 2022

  1. Raise EPIPE for all unseekable channels

    This relates to the discussion in discourse/mini_mime#38 where the
    proposed patch must work around JRuby's silent seek failure for
    some types of resources (at least classloader resources).
    
    The patch here will now raise EPIPE for all NIO channels that are
    not seekable through some means. It is rather aggressive given the
    old logic that only raised if a channel was not seekable AND not
    selectable (for reasons long lost).
    headius committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    7faf0aa View commit details
    Browse the repository at this point in the history