Skip to content
Sharp

Networking · interview question

Why can incorrectly setting a very high timeout in HttpClient become a problem in production code?

Multiple choiceHardchapter-11-curatedpremiumnetworkingasynchronous-http
Choose one answer
Answer and explanation

Correct answer

A. It can lead to threads being blocked indefinitely.

Why

A very high timeout can cause threads to remain blocked for extended periods, waiting for a response that may never arrive, which can lead to resource exhaustion and reduced system performance.

Test yourself on Networking

A free test with instant, explained results. No account needed.

Start free test
All Networking questions →