fitstar/falcore — pull request #2 by dgrijalva (2013-04-02 22:22:47+00:00)
Title: Wait time

Since we already have a bufio.Reader on the connection, we can use Peek(1) to start the request timer after there are bytes on the wire.

The problem I'm trying to address here is anomalous long request times caused by requests made on long idle connections. This change will remove connection idle time (the time from one request ending to the next beginning) from the request time. You can currently see this as really long Init phases.