diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-05-12 08:25:11 +0200 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-05-15 07:22:43 +0200 |
commit | 60f0dc7d429e1ac612ea46ec815ff20c07807909 (patch) | |
tree | 227be8a01db395080bc7fb6d04a7c357814f8844 /src/node_crypto.h | |
parent | 72e3dda93c7cae1035521adc67d5b80c735a3ac3 (diff) | |
download | android-node-v8-60f0dc7d429e1ac612ea46ec815ff20c07807909.tar.gz android-node-v8-60f0dc7d429e1ac612ea46ec815ff20c07807909.tar.bz2 android-node-v8-60f0dc7d429e1ac612ea46ec815ff20c07807909.zip |
src: rename CONNECTION provider to SSLCONNECTION
Currently the async provider type CONNECTION is used in node_crypto.h
and it might be clearer if it was named SSLCONNECTION as suggested by
addaleax.
This commit renames only the provider type as I was not sure if it was
alright to change the class Connection as well.
Refs: https://github.com/nodejs/node/pull/12967#discussion_r115978735
PR-URL: https://github.com/nodejs/node/pull/12989
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'src/node_crypto.h')
-rw-r--r-- | src/node_crypto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h index ad1b493596..bd5ed517c5 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -402,7 +402,7 @@ class Connection : public AsyncWrap, public SSLWrap<Connection> { v8::Local<v8::Object> wrap, SecureContext* sc, SSLWrap<Connection>::Kind kind) - : AsyncWrap(env, wrap, AsyncWrap::PROVIDER_CONNECTION), + : AsyncWrap(env, wrap, AsyncWrap::PROVIDER_SSLCONNECTION), SSLWrap<Connection>(env, sc, kind), bio_read_(nullptr), bio_write_(nullptr), |