I am using nodejs and sending http post request to server. On server side I am running php. My server is returning correct data around 9KB but data in nodejs client is terminated. It works fine if data is less than 6KB. Following is my code
var reqPost = https.request(optionspost, function(res) {
res.on('data', function(d) {
Console.log('Cloud Resp:', d);
var jsonObj = JSON.parse(d);
});
});
My print Console.log('Cloud Resp:', d) prints data up to 8KB only. Can someone please help me to understand if this limit is imposed by nodejs or something else and how can I increase the limit