Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

Commit

Permalink
Fixed missed ASCII translations in v6.16.0 merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew chen committed Jan 4, 2019
1 parent c966403 commit 2278fea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4264,15 +4264,15 @@ static void ParseArgs(int* argc,
new_v8_argc += 1;
} else if (strncmp(arg, "\x2d\x2d\x76\x38\x2d\x70\x6f\x6f\x6c\x2d\x73\x69\x7a\x65\x3d", 15) == 0) {
v8_thread_pool_size = atoi(arg + 15);
} else if (strncmp(arg, "--max-http-header-size=", 23) == 0) {
} else if (strncmp(arg, "\x2d\x2d\x6d\x61\x78\x2d\x68\x74\x74\x70\x2d\x68\x65\x61\x64\x65\x72\x2d\x73\x69\x7a\x65\x3d", 23) == 0) {
max_http_header_size = atoi(arg + 23);
#if HAVE_OPENSSL
} else if (strncmp(arg, "\x2d\x2d\x74\x6c\x73\x2d\x63\x69\x70\x68\x65\x72\x2d\x6c\x69\x73\x74\x3d", 18) == 0) {
default_cipher_list = arg + 18;
} else if (strncmp(arg, u8"--use-openssl-ca", 16) == 0) {
} else if (strncmp(arg, "\x2d\x2d\x75\x73\x65\x2d\x6f\x70\x65\x6e\x73\x73\x6c\x2d\x63\x61", 16) == 0) {
ssl_openssl_cert_store = true;
use_openssl_ca = true;
} else if (strncmp(arg, u8"--use-bundled-ca", 16) == 0) {
} else if (strncmp(arg, "\x2d\x2d\x75\x73\x65\x2d\x62\x75\x6e\x64\x6c\x65\x64\x2d\x63\x61", 16) == 0) {
use_bundled_ca = true;
ssl_openssl_cert_store = false;
#if NODE_FIPS_MODE
Expand Down
2 changes: 1 addition & 1 deletion src/node_config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void InitConfig(Local<Object> target,


READONLY_PROPERTY(target,
"maxHTTPHeaderSize",
"\x6d\x61\x78\x48\x54\x54\x50\x48\x65\x61\x64\x65\x72\x53\x69\x7a\x65",
Number::New(env->isolate(), max_http_header_size));

if (!config_warning_file.empty()) {
Expand Down

0 comments on commit 2278fea

Please sign in to comment.