-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
TLSCallbacks => TLSWrap, better TLS inception #840
Closed
Closed
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
2a9da69
stream_wrap: introduce StreamBase base class
indutny 2e4ceb2
stream_base: do not require extra internal field
indutny 100f9bd
stream_base: specialize interface methods
indutny 5298490
stream_wrap: remove WriteStringImpl
indutny e9def28
stream_base: move Shutdown to StreamBase
indutny 605775c
stream_base: move away WriteBuffer
indutny 16e33d4
stream_base: move Writev/WriteString
indutny ddd5d28
stream_base: DoAlloc
indutny 48c1ff6
stream_base: DoRead
indutny 924b327
stream_base: move to callbacks
indutny 96cfde6
tls_wrap: rewrite (wip)
indutny fd7243f
tls_wrap: minor fixes
indutny c7c9247
stream_base: better Consume() API
indutny 8801cc3
stream_base: save progress
indutny 1fe7d75
src: fix build
indutny 11d8877
src: save progress
indutny 445b0fc
src: fix build
indutny b827305
stream_base: OnData!
indutny ab64ce6
tls_wrap: add proper methods
indutny 24a9ae6
stream_base: use GetParent()
indutny 372b986
stream_base: moar fixes
indutny 22eafaf
stream_base: proper interfaces
indutny 025ed30
tls_wrap: invoke OnData on self
indutny 312bd56
tls_wrap.js: use new wrapping
indutny 15033d0
tls_wrap.js: fix tls.connect
indutny bd78b94
javascript test fixes
indutny 7b7bec6
tls_wrap: fix Receive
indutny 0c9e1a2
tls_wrap: allow wrapping TLSWrap
indutny cac9cd7
tls_wrap: fix inception test
indutny eadd63e
test: fix multi-key test, _handle disappears
indutny 62c7c74
stream_base: last fixes, hopefuly
indutny a2f0e57
tls_wrap: return of this.ssl
indutny bcbad15
tls_wrap.js: result=>socket
indutny f8d5779
stream_base: remove GetObject()
indutny 659d0cb
stream_base: fix lint errors
indutny 59cd1f2
tls_wrap: support reading in parts
indutny ce0e7a4
stream_base: OnData => EmitData
indutny 259c236
net: remove commented code
indutny 9f409e5
stream_base: move SetBlocking to StreamWrap
indutny 2231333
node_crypto: fix
indutny 07025b7
stream_base: remove TODO
indutny File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
stream_base: last fixes, hopefuly
- Loading branch information
commit 62c7c74f9a83e27c2fe2275b59535467d757a004
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible that the
once
below could set multiple listeners forconnect
, causing_start
to be called >1?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Start is called only once, otherwise assertion will happen in C++.