Project

General

Profile

« Previous | Next » 

Revision 5f2c4e34

Added by rhenium (Kazuki Yamaguchi) about 4 years ago

[ruby/net-http] Reset keep_alive timer on new connection

The last_communicated timestamp is for HTTP persistent connection, to
decide whether the current TCP connection may be reused for the
subsequent requests or not. Naturally, the timer must be reset if the
connection is recreated since it is no longer relevant.

https://github.com/ruby/net-http/commit/0a013de42d