reschly / ocsplatency

Apache License 2.0
0 stars 0 forks source link

Measure time to ocsp response complete #1

Open reschly opened 11 years ago

reschly commented 11 years ago

Currently the latency clock stops upon receiving the first by of the OCSP response. Should wait until the complete response is received. A larger response may overflow the TCP window require an extra round-trip for the tcp ACK. This delay could be significant, and is worth measuring.

Doing this would require parsing the response, and the time required to do that would artificially add to measured result. Avoiding the artificial delay is why the response isn't parsed in the current code.