rem: var input = trans.openInputStream(Ci.nsITransport.OPEN_BLOCKING, 0, 0); 
add: const SEGMENT_SIZE = 8192; const SEGMENT_COUNT = 1024; var input = trans.openInputStream(0, SEGMENT_SIZE, SEGMENT_COUNT) .QueryInterface(Ci.nsIAsyncInputStream); 
context:   onSocketAccepted: function(serverSocket, trans)  {    dumpn(">>> new connection on " + trans.host + ":" + trans.port);    var input = trans.openInputStream(Ci.nsITransport.OPEN_BLOCKING, 0, 0);    var output = trans.openOutputStream(Ci.nsITransport.OPEN_BLOCKING, 0, 0);    this._processConnection(serverSocket.port, input, output);  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/83ffd0f377352f73cd8d129e6518b12639a482e4/httpd.js/buggy/netwerk/test/httpserver/httpd.js