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

Gdamore/stream set gone #1901

Merged
merged 4 commits into from
Oct 29, 2024
Merged

Gdamore/stream set gone #1901

merged 4 commits into from
Oct 29, 2024

Conversation

gdamore
Copy link
Contributor

@gdamore gdamore commented Oct 29, 2024

fixes #

Note that the above format should be used in your git commit comments.
You agree that by submitting a PR, you have read and agreed to our
contributing guidelines.

TLS is not really merely supplemental anymore.  Its pretty fundamental.
Let's make it accessible directly.  This will allow us to define
typed property access functions.
We don't need nng_stream_set_addr nor nng_stream_set_ptr.
These methods are simply not useful for streams, which have
their properties established at creation time.

Arguably in fact, all of nng_stream_set_* could go away --
the only properties it is implemented for are TCP keepalive and
nodelay tuning, and those should be reasonably set by the
creator of the stream.
This was not really used or useful.
@gdamore gdamore merged commit b3936a2 into main Oct 29, 2024
14 of 15 checks passed
Copy link

codecov bot commented Oct 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.23%. Comparing base (cbd8c55) to head (b3936a2).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1901      +/-   ##
==========================================
- Coverage   80.18%   79.23%   -0.96%     
==========================================
  Files          94       92       -2     
  Lines       24336    23625     -711     
  Branches     3272     3235      -37     
==========================================
- Hits        19515    18720     -795     
- Misses       4746     4905     +159     
+ Partials       75        0      -75     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant