diff --git a/src/AppWrapper.h b/src/AppWrapper.h index 9afc87b..64f2f26 100644 --- a/src/AppWrapper.h +++ b/src/AppWrapper.h @@ -232,7 +232,7 @@ void uWS_App(const FunctionCallbackInfo &args) { return; } if (keyFileNameValue.getString().length()) { - keyFileName.append(keyFileNameValue.getString()); + keyFileName = keyFileNameValue.getString(); ssl_options.key_file_name = keyFileName.c_str(); } @@ -242,7 +242,7 @@ void uWS_App(const FunctionCallbackInfo &args) { return; } if (certFileNameValue.getString().length()) { - certFileName.append(certFileNameValue.getString()); + certFileName = certFileNameValue.getString(); ssl_options.cert_file_name = certFileName.c_str(); } @@ -252,7 +252,7 @@ void uWS_App(const FunctionCallbackInfo &args) { return; } if (passphraseValue.getString().length()) { - passphrase.append(passphraseValue.getString()); + passphrase = passphraseValue.getString(); ssl_options.passphrase = passphrase.c_str(); } @@ -262,7 +262,7 @@ void uWS_App(const FunctionCallbackInfo &args) { return; } if (dhParamsFileNameValue.getString().length()) { - dhParamsFileName.append(dhParamsFileNameValue.getString()); + dhParamsFileName = dhParamsFileNameValue.getString(); ssl_options.dh_params_file_name = dhParamsFileName.c_str(); } diff --git a/uWebSockets b/uWebSockets index b36607d..7ea680e 160000 --- a/uWebSockets +++ b/uWebSockets @@ -1 +1 @@ -Subproject commit b36607dac69271299db8302aafec247200a83e3d +Subproject commit 7ea680e187be8db7d5a3133e049a1fd6a7800d3d