update, text, response

This commit is contained in:
2025-11-02 11:09:14 +01:00
parent 14776c86b0
commit eed8a4ddcf
2794 changed files with 156786 additions and 129204 deletions

View File

@@ -2,6 +2,8 @@ var once = require('once');
var noop = function() {};
var qnt = global.Bare ? queueMicrotask : process.nextTick.bind(process);
var isRequest = function(stream) {
return stream.setHeader && typeof stream.abort === 'function';
};
@@ -45,7 +47,7 @@ var eos = function(stream, opts, callback) {
};
var onclose = function() {
process.nextTick(onclosenexttick);
qnt(onclosenexttick);
};
var onclosenexttick = function() {