http - Node.JS: What happens to postdata when client request is interrupted? -
http - Node.JS: What happens to postdata when client request is interrupted? -
in the node.js docs http (v0.8.20), under serverrequest
, see events data
, end
. not see event error
.
normally, if there interruption while receiving data, observe looking @ error
. work postdata?
how can sure whether have received entire postdata, , not truncated due network failure?
i have not confirmed actual running code, looking @ manual, http.serverrequest readable stream , has event: 'error' documented.
node.js http post error-handling
Comments
Post a Comment