It would be great if pipe() could somehow do cork()/uncork() to minimize amount of the TCP packets when piping to the net.Socket. Does anyone have an idea how to expose this to users? Or how to handle it?
Should we just cork and uncork on next tick as we do in http?
It would be great if
pipe()could somehow docork()/uncork()to minimize amount of the TCP packets when piping to thenet.Socket. Does anyone have an idea how to expose this to users? Or how to handle it?Should we just cork and uncork on next tick as we do in http?