Skip to content

Conversation

@gummif
Copy link
Member

@gummif gummif commented Mar 30, 2019

Solution: Add overloads to proxy and proxy_steerable taking socket_t
objects
Additionally deprecate the void* overloads.

@coveralls
Copy link

coveralls commented Mar 30, 2019

Pull Request Test Coverage Report for Build 175

  • 10 of 10 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 45.936%

Totals Coverage Status
Change from base Build 173: 0.1%
Covered Lines: 1944
Relevant Lines: 4232

💛 - Coveralls

tests/socket.cpp Outdated
auto s1 = std::move(front);
auto s2 = std::move(back);
auto s3 = std::move(capture);
CHECK_THROWS(zmq::proxy(s1, s2, &s3));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this throw because of an ETERM error because the context is closed?

Shouldn't the CHECK_THROW be placed where the future is retrieved with get?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added explicit check for ETERM (constant available on windows?) and moved the check.

Solution: Add overloads to proxy and proxy_steerable taking socket_t
objects
@sigiesec
Copy link
Member

sigiesec commented Apr 1, 2019

Yes, it is defined under Windows as well!

Thanks for the amendment :)

@sigiesec sigiesec merged commit e1fe5e5 into zeromq:master Apr 1, 2019
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.

3 participants