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

TLS transport close should close underlying transport (or have option to) #460

Open
dpwspoon opened this issue Feb 8, 2018 · 0 comments

Comments

@dpwspoon
Copy link
Member

dpwspoon commented Feb 8, 2018

A write close when using a transport for tls will result in a TLS completion, but not a half close on the underlying transport.

For example, a test as shown below will not result in a hal close for the nukleus transport

connect await ROUTED_SERVER
        "tls://localhost:9090"
  option tls:transport "nukleus://tls/streams/source"
  option tls:trustStoreFile "src/test/democa/cacerts"
  option tls:trustStorePassword "generated"
  option nukleus:route ${newServerAcceptRef}
  option nukleus:transmission "duplex"
connected

write close

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

1 participant