From b397df2fb5915a0ed28852abb43a43fd2012ead3 Mon Sep 17 00:00:00 2001 From: Anatoli Papirovski Date: Wed, 13 Sep 2017 09:34:14 -0400 Subject: [PATCH] http2: add tests for push stream error handling Add tests that cover errors for wrong arguments, as well as tests for error codes from nghttp2. Fix pushStream to emit NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE on session rather than stream. PR-URL: https://github.com/nodejs/node/pull/15281 Reviewed-By: James M Snell Reviewed-By: Matteo Collina