From 45117b5a1c43355463e4d883a799ff49404824a3 Mon Sep 17 00:00:00 2001 From: Benjamin Gruenbaum Date: Mon, 9 Nov 2020 12:51:14 +0200 Subject: [PATCH] http: add support for abortsignal to http.request --- doc/api/http.md | 9 +++++++ lib/.eslintrc.yaml | 2 +- lib/_http_client.js | 16 ++++++++++-- lib/internal/errors.js | 11 ++++++++ .../test-http-client-abort-destroy.js | 26 +++++++++++++++++-- 5 files changed, 59 insertions(+), 5 deletions(-) diff --git a/doc/api/http.md b/doc/api/http.md index 5b19255b57965b..248e4468e042ae 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -2336,6 +2336,9 @@ This can be overridden for servers and client requests by passing the