fastify / fastify/aws-lambda-fastify
decorateRequest is not thread safe
Aperta
- Lingua principale
- JavaScript
- Stelle
- 559
- Fork
- 37
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Due to the way the code for `decorateRequest` is written, when multiple requests are executed concurrently the [`currentAwsArguments` cache variable](https://github.com/fastify/aws-lambda-fastify/blob/main/index.js#L22) will clash and overwrite wrong event and context data between the simultaneous requests.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.