Node.js · Senior · Question 19 of 75

How should a server limit the size of incoming request bodies?

Explanation

Without limits, a client can exhaust memory with one huge request. Stream large uploads to storage instead of buffering them.

Further reading

Problem with a question

Node.js · Senior · question 19

Test yourself

Take the Node.js · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz