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

Support connect aborted #454

Open
cmebarrow opened this issue Oct 6, 2017 · 2 comments
Open

Support connect aborted #454

cmebarrow opened this issue Oct 6, 2017 · 2 comments

Comments

@cmebarrow
Copy link
Member

cmebarrow commented Oct 6, 2017

Currently there is no way to verify (assert) that a connection fails. This ticket is an enhancement request to support syntax connect aborted in the same spirit as write aborted, as in the following example:

connect "nukleus://server/streams/client"
        option nukleus:route ${newRouteRef}
        option nukleus:transmission "duplex"
        option nukleus:authorization 0x0002_000000000000L
        option nukleus:window 8192
connect aborted
@jfallows jfallows changed the title Support connect aborted Support connect aborted Oct 6, 2017
@jfallows
Copy link
Member

jfallows commented Dec 5, 2018

May also need accepted abort.

@jfallows
Copy link
Member

jfallows commented Dec 5, 2018

Workaround using transmission simplex and connected write aborted.

accept ...
    option nukleus:transmission "simplex"

accepted
connected
read abort

connect ...
    option nukleus:transmission "simplex"
connected
write aborted

Note: when this feature is implemented, the workaround may no longer be viable as simplex connect failure would yield connect aborted instead of connected write aborted.

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

No branches or pull requests

2 participants