Skip to content

async_hooks: don't reuse resource in HttpAgent when queued

Fixes: #34401 (closed) Refs: #27581

Checklist

This PR is a continuation of the http.Agent async resource reuse fix started in #27581. It deals with the case when a socket is not available immediately and, thus, the request is pushed into agent's queue.

  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading