From bb8bd2f5db30d95265c7749cc07a07c5bc4386b5 Mon Sep 17 00:00:00 2001 From: MunyDev Date: Sat, 25 Jan 2025 10:29:42 -0500 Subject: [PATCH] Fixed proxy to implement timeout for socket --- configs/m.google.com/index.js | 2 +- myCA.pem | 23 ----------------------- 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 myCA.pem diff --git a/configs/m.google.com/index.js b/configs/m.google.com/index.js index 73a95fc..2907362 100644 --- a/configs/m.google.com/index.js +++ b/configs/m.google.com/index.js @@ -50,7 +50,7 @@ async function startServerIfNeeded() { } state.pid = parseInt(buffer.toString('utf-8')); - + await new Promise((resolve)=>setTimeout(resolve, 200)); // }) console.log("Started internal server with pid of: " + state.pid); } diff --git a/myCA.pem b/myCA.pem deleted file mode 100644 index a895104..0000000 --- a/myCA.pem +++ /dev/null @@ -1,23 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDvTCCAqWgAwIBAgIUW9eJ2rw//5bCFB80Cw0aTnMB4PYwDQYJKoZIhvcNAQEL -BQAwbTELMAkGA1UEBhMCVVMxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM -GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEmMCQGCSqGSIb3DQEJARYXamVmZnBs -YXlzMTI5MkBnbWFpbC5jb20wIBcNMjUwMTI0MjMzOTEyWhgPMzAyNDA1MjcyMzM5 -MTJaMG0xCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQK -DBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxJjAkBgkqhkiG9w0BCQEWF2plZmZw -bGF5czEyOTJAZ21haWwuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC -AQEAtsnr7wNJYMIZdmAvD2kj1Qt4VZgfyCo4F8p6N9lkJH7vcIrIB6MYgYAMbp14 -+7YG+FaXMgMWpXfRih11EdjZZ4AOm0EBdc/TXIKloL9G1tNx3MuCjRr9Tj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