Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Expose more information #11

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Expose more information #11

wants to merge 9 commits into from

Conversation

splitice
Copy link

  • Expose if the stream is currently closing
  • Expose the last activity and last network activity
  • Expose if the stream & session has ever had activity

Most of this was used to enable some basic monitoring of the sessions & their streams.

@splitice
Copy link
Author

splitice commented Jul 23, 2018

Also:

  • Overwrite default error handler, important due to there being places where errors can occur but the session hasn't been passed through yet
  • Native node end supports a function as argument 1 for end, some libraries pass it in. This causes issues with err which is argument 1. and results in issue Repeated stress leads to unknown error code #12.

@zensh
Copy link
Member

zensh commented Jul 23, 2018

👍

@zensh
Copy link
Member

zensh commented Aug 12, 2018

@splitice Hi, there are some coding style errors, you should run npm run lint.

@splitice
Copy link
Author

Conforming to @fidm's style is is something I can do - if there is a chance of merge and further development.

crypto not complete
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants