Skip to content

Commit

Permalink
Disable client Verification (#1175)
Browse files Browse the repository at this point in the history
  • Loading branch information
SrinivasanTarget authored Jun 12, 2024
1 parent 21f4360 commit 4e4cdb2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "appium-device-farm",
"version": "8.4.7-rc.40",
"version": "8.4.7-rc.41",
"description": "An appium 2.0 plugin that manages and create driver session on available devices",
"main": "./lib/src/main.js",
"scripts": {
Expand Down
11 changes: 9 additions & 2 deletions src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,15 @@ class DevicePlugin extends BasePlugin {
method: 'post',
url: remoteUrl,
timeout: this.pluginArgs.remoteConnectionTimeout,
httpAgent: new http.Agent({ keepAlive: true, keepAliveMsecs: 60000 }),
httpsAgent: new https.Agent({ keepAlive: true, keepAliveMsecs: 60000 }),
httpAgent: new http.Agent({
keepAlive: true,
keepAliveMsecs: 60000,
}),
httpsAgent: new https.Agent({
rejectUnauthorized: false,
keepAlive: true,
keepAliveMsecs: 60000,
}),
headers: {
'Content-Type': 'application/json',
},
Expand Down

0 comments on commit 4e4cdb2

Please sign in to comment.