Commit 1540129
committed
http2: significant internal refactoring
* tighten up the Http2Stream/Http2Session lifecycle, destroy, and
error handling. Some simplification, and more new tests
* Eliminate queuing of internal callbacks. Queuing these to fire on
the next event loop tick was throwing off timing. Now the js callbacks
are called directly as they happen. This will require a bit more
finesse on the javascript side (to ensure appropiate timing of
destroy/shutdown actions) but that is handled from within the core
api impl so users should not be affected.
* fix debug output with nghttp2
PR-URL: nodejs#138
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>1 parent 2a83a0e commit 1540129
32 files changed
Lines changed: 1604 additions & 1250 deletions
File tree
- deps/nghttp2
- doc/api
- lib/internal
- http2
- src
- test/parallel
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | | - | |
32 | 33 | | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
0 commit comments