What happens on the server when the client closes the connection using readTimeout

What happens on the server when the client closes the connection to the API using readTimeout. Execution will be executed for the request, or it will break as soon as a timeout OR completion is completed, and the response stream, a clogged response that the server must send to the user

+4
source share
2 answers

What happens on the server when the client closes the connection to the API using readTimeout.

, . , "connection reset" , , ..

.

, -

.

.

, ,

, " reset" .

+2

- - - , , , , . , , , , .

, - - , -.


, : , -, . , , .

, , , , -, , , .

, (, ) , ( , ).

, .

, :

  • ,
  • - , ( , ), ,

, , , .

+1

Source: https://habr.com/ru/post/1628080/


All Articles