In HTTP connection pooling, What happened to write_buffer in case receiver gets time out -


most of use httpclient , connection pooling connection gets reused multiple client thread.

now if 1 client gets read-timeout, releases connection pool may used other threads.

but curious know happens @ server side. server still processing request , may try write data write_buffer. since connection not closed, how write_buffer gets cleared before other request comes in using same tcp connection.

  1. what happens server worker thread , write_buffer when reader gets timeout.
  2. does reader(httpclient) interrupt or send ack server when gets timeout.


Comments

Popular posts from this blog

Formatting string according to pattern without regex in php -

c - zlib and gdi32 with OpenSSL? -

java - inputmismatch exception -