h2lean 0.9.1 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/session.js +2 -0
- package/lib/stream.js +1864 -35
- package/package.json +1 -1
package/lib/session.js
CHANGED
|
@@ -3017,6 +3017,8 @@ class Http2Session extends EventEmitter {
|
|
|
3017
3017
|
q.shift();
|
|
3018
3018
|
}
|
|
3019
3019
|
stream._queued = null;
|
|
3020
|
+
// the credit stall that set the Duplex needDrain report is over
|
|
3021
|
+
stream._needDrain = false;
|
|
3020
3022
|
this._blocked.delete(stream);
|
|
3021
3023
|
this.state.outboundQueueSize = this._blocked.size;
|
|
3022
3024
|
// A trailer block stashed by sendTrailers() belongs after the body it follows, and it
|