Add ssl_prefer_low_memory_usage option
This commit is contained in:
parent
ae32259342
commit
74e8476ad4
12 changed files with 82 additions and 58 deletions
|
@ -265,6 +265,9 @@ void uWS_App(const FunctionCallbackInfo<Value> &args) {
|
|||
dhParamsFileName.append(dhParamsFileNameValue.getString());
|
||||
ssl_options.dh_params_file_name = dhParamsFileName.c_str();
|
||||
}
|
||||
|
||||
/* ssl_prefer_low_memory_usage */
|
||||
ssl_options.ssl_prefer_low_memory_usage = Local<Object>::Cast(args[0])->Get(String::NewFromUtf8(isolate, "ssl_prefer_low_memory_usage"))->BooleanValue();
|
||||
}
|
||||
|
||||
app = new APP(ssl_options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue