Handle EIO deadlock when H2 returned an error like 404.
Originally the code would only wait on the response and if H2
encountered an error, it would call error_handler instead of
response_handler and because error_handler was not defined then errors
were sliently ignored.
This fix adds error handling with promise racing.
39bc01
-
Nov 27 00:33 +00:00