-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make use of global agent #284
Labels
Comments
undici
global dispatcher if possible
codrin-ch
pushed a commit
to codrin-ch/fastify-reply-from
that referenced
this issue
Jan 28, 2023
codrin-ch
added a commit
to codrin-ch/fastify-reply-from
that referenced
this issue
Jan 28, 2023
codrin-ch
added a commit
to codrin-ch/fastify-reply-from
that referenced
this issue
Jan 28, 2023
codrin-ch
added a commit
to codrin-ch/fastify-reply-from
that referenced
this issue
Jan 28, 2023
… introduced breaking change and implement CR
codrin-ch
added a commit
to codrin-ch/fastify-reply-from
that referenced
this issue
Jan 29, 2023
codrin-ch
added a commit
to codrin-ch/fastify-reply-from
that referenced
this issue
Jan 29, 2023
4 tasks
mcollina
pushed a commit
that referenced
this issue
Jan 29, 2023
* feat(#284): added option globalAgent to make use of global agent * feat(#284): update documentation * feat(#284): update documentation * feat(#284): update multipart package min required version that introduced breaking change and implement CR * feat(#284): do not close global agents + coverage, update doc and CR * feat(#284): fix test --------- Co-authored-by: Chira Codrin-Mihai <chiracodrin@yahoo.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
🚀 Feature Proposal
It should be a good feature to use the
global dispatcher
ofundici
,http
,https
if someone provide a custom one.For example, when sharing a global
ProxyAgent
between this plugin and http client.Motivation
No response
Example
Since when we use
getGlobalDispatcher
,undici
will create one when not exist.We need to explicitly opt-in for the
global dispatcher
to prevent any strange behavior.I would assume someone need to use it by.
The text was updated successfully, but these errors were encountered: