Skip to content

Add additional attr callbacks for session_cb#252

Closed
headius wants to merge 1 commit into
masterfrom
session_cb_attrs
Closed

Add additional attr callbacks for session_cb#252
headius wants to merge 1 commit into
masterfrom
session_cb_attrs

Conversation

@headius

@headius headius commented Apr 7, 2022

Copy link
Copy Markdown
Member

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

kares commented Apr 8, 2022

Copy link
Copy Markdown
Member

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

headius commented Apr 13, 2022

Copy link
Copy Markdown
Member Author

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