Node.js HTTP client agent pipelining?

The HTTP client built into Node.js doesn't seem to support pipelining requests . However, it occurred to me that it is possible to create an Agent that sets up pipelining in the background. There might be problems getting the response data back the way it should be, but perhaps the agent could have tampered with some socket objects in order for the HTTP client to work fine?

It's done? Alternatively, is there an alternative HTTP client that is a drop-in replacement for the main one that supports pipelining? (Ultimately, I would like to use it with the AWS SDK, so it needs to be compatible.)

+3


source to share





All Articles