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

Add additional attr callbacks for session_cb #252

Closed
wants to merge 1 commit into from

Conversation

headius
Copy link
Member

@headius headius commented Apr 7, 2022

These are called by at least the default net-http gem, so we need
these methods to be present. I am not sure how much functionality
they need to have; in CRuby, they are just bound as attr readers/
writers.

See #249 and jruby/jruby#7088

These are called by at least the default net-http gem, so we need
these methods to be present. I am not sure how much functionality
they need to have; in CRuby, they are just bound as attr readers/
writers.

See #249 and jruby/jruby#7088
@kares
Copy link
Member

kares commented Apr 8, 2022

most _cb we currently have actually work, these would be dummy and might cause confusion as they're never called.
believe a better approach would be to feature detect (on net-http): ruby/net-http#52

@headius
Copy link
Member Author

headius commented Apr 13, 2022

The feature detect fix is better. We still need to revisit these callbacks but my PR is only partial and would silently pretend the callbacks are working.

@headius headius closed this Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants