Skip to content

Socket Activation #4444

Closed Answered by metcoder95
waynebloss asked this question in Q&A
Nov 28, 2022 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

Never tried socket-activation before (but thanks for the item to my reading list though). But fastify sanitizes the listen arguments before calling the serverFactory (either custom or the HTTP one from Node). See reference:

function normalizeListenArgs (args) {

That being said, at the given state you'll need to pass through the closure of the listen method, the fd to forward it.
Not sure why fastify doesn't support it, but most likely due to security concerns 🙂

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@waynebloss
Comment options

@waynebloss
Comment options

@metcoder95
Comment options

@climba03003
Comment options

Answer selected by waynebloss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants