From 154842a48c0baba66daf744f3be06fd8701b9638 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 11 Mar 2011 13:35:47 -0800 Subject: tcp_info: more documentation on last_data_recv It's useful, yes. --- ext/raindrops/linux_tcp_info.c | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3-24-ge0c7