summaryrefslogtreecommitdiff
path: root/lbc
AgeCommit message (Collapse)Author
2022-03-15Major update: SSL Key Logging, HTTP2 supportWill Hawkins
This is a "How was this ever working?" update. 1. As it turns out, when you customize a Transport for an http.Client, the transport is 'naturally' an HTTP1 transport. To make it connect via HTTP2, you must use an http2.Transport from the golang.org/x/net/http2 package. 2. Add support for logging TLS per-session keys in order to aid debugging.
2022-03-14Add a license.Will Hawkins
2021-12-28Bugfix: Create new transports for each HTTP connectionWill Hawkins
By default go's network stack "helpfully" reuses the Transports among http.Clients. This will artifically inhibit the full use of the network. Creating new Transports for every http.Client will keep this from happening.
2021-12-18Performance (Try 3): Experiment with preallocating buffers.Will Hawkins
2021-12-18Performance (Take 2): A different attempt at improving perfWill Hawkins
Try intercepting a reader.
2021-12-17Bugfix: Old way of reading downloaded data was slowWill Hawkins
The previous method for reading the download was slow -- it involved too many "context switches" out of library code where the reading was actually happening. This method appears to be better. We'll see.
2021-12-16Improve robustnessWill Hawkins
Improve robustness of the client in the case(s) where a network goes away in the middle of the test. Report errors properly in these cases and gracefully end the test.
2021-12-15More general work.Will Hawkins
2021-12-15Rename MeasurableConnection interface to LoadBearingConnection.Will Hawkins