So, I want to use pipelining of node.js and http, but I want to use HTTP only as a transport, nothing else. I am interested in using the pipelined request function. However, one problem that I am facing is that until the response to the previous request is sent, the next callback request does not start node. I want to be able to do this. I will process the results orders in the application. Is there any way to do this?
The HTTP RFC mentions that the responses should be fine, but I see no reason for node.js not to call the next callback until the first answers. An application can theoretically send a response to the second request in response to the 1st (if there is any way for the recipient to know that this is the answer to the second).
dhruvbird
source share