node-libcurl
node-libcurl copied to clipboard
single connection
How to use single connection in this library. so you have to wait for the previous http connection request to finish before executing the new connection.
I put node-libcurl in loop however this node-libcurl does concurrent http connection requests. i want a single connection how to do it.
I used this curl option to solve this problem. This doesn't seem like a good solution
NOPROGRESS: 1,
DNS_CACHE_TIMEOUT: 120,
MAXREDIRS: 20,
NOSIGNAL: 1,
FOLLOWLOCATION: true,
HTTPHEADER: datarow.headers,
SSL_VERIFYPEER: false,
SSL_VERIFYHOST: false,
CUSTOMREQUEST: datarow.method,
VERBOSE: true,
@insidexoff mind sharing some code of what you want to accomplish?