http2: eliminate unnecessary nextTicks, use stream close event
- Eliminate some unnecessary next ticks
- Use streams close event for
Http2Stream
/cc @addaleax @mcollina @mafintosh
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows [commit guidelines]