24
24
* pre-built node-oracleb binary from GitHub if one is available, or
25
25
* gives a message on how to compile one from source code.
26
26
*
27
+ * Set NODE_ORACLEDB_TRACE_INSTALL=TRUE for installation trace output.
28
+ *
27
29
* MAINTENANCE NOTES
28
30
* - This file should run with Node 4 or later.
29
31
* - This file should only ever 'require' packages included in core Node.js.
@@ -216,7 +218,7 @@ function getFileReadStreamByProxy(hostname, path, proxyHostname, proxyPort) {
216
218
reject ( new Error ( 'Error: HTTP proxy request for ' + hostname + path + ' failed with code ' + res . statusCode ) ) ;
217
219
return ;
218
220
} else {
219
- getFileReadStreamBase ( hostname , path , socket , false )
221
+ getFileReadStreamBase ( hostname , path , socket )
220
222
. then ( fileReadStream => {
221
223
resolve ( fileReadStream ) ;
222
224
} )
@@ -228,7 +230,7 @@ function getFileReadStreamByProxy(hostname, path, proxyHostname, proxyPort) {
228
230
229
231
// The getFileReadStreamBase function is the main function that retrieves a remote
230
232
// file read stream.
231
- function getFileReadStreamBase ( hostname , path , socket , agent ) {
233
+ function getFileReadStreamBase ( hostname , path , socket ) {
232
234
return new Promise ( ( resolve , reject ) => {
233
235
packageUtil . trace ( 'In getFileReadStreamBase' , hostname , path ) ;
234
236
@@ -238,8 +240,7 @@ function getFileReadStreamBase(hostname, path, socket, agent) {
238
240
{
239
241
host : hostname ,
240
242
path : path ,
241
- socket : socket ,
242
- agent : agent
243
+ socket : socket
243
244
} ,
244
245
function ( res ) {
245
246
packageUtil . trace ( 'HTTP statusCode =' , res . statusCode ) ;
0 commit comments