Skip to content
Sharp

Networking · interview question

How does setting a connection timeout differ from a request timeout?

Multiple choiceMediumchapter-11-curatedpremiumnetworkingtimeouts-and-retries
Choose one answer
Answer and explanation

Correct answer

A. Connection timeout is for establishing a connection; request timeout is for data transfer.

Why

A connection timeout is the time allotted to establish a connection with the server. In contrast, a request timeout is the time allowed for the entire HTTP request, including data transfer, to complete.

Test yourself on Networking

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

Start free test
All Networking questions →