diff options
Diffstat (limited to 'ext/raindrops/linux_tcp_info.c')
-rw-r--r-- | ext/raindrops/linux_tcp_info.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/raindrops/linux_tcp_info.c b/ext/raindrops/linux_tcp_info.c index 4aa1c0e..1a2048c 100644 --- a/ext/raindrops/linux_tcp_info.c +++ b/ext/raindrops/linux_tcp_info.c @@ -87,6 +87,11 @@ void Init_raindrops_linux_tcp_info(void) * are defined corresponding to the "tcpi_" fields in the * tcp_info struct. * + * In particular, the +last_data_recv+ field is useful for measuring + * the amount of time a client spent in the listen queue before + * +accept()+, but only if +TCP_DEFER_ACCEPT+ is used with the + * listen socket (it is on by default in Unicorn). + * * - state * - ca_state * - retransmits |