summaryrefslogtreecommitdiff
path: root/lbc/lbc.go
AgeCommit message (Collapse)Author
2022-03-19Rename: Change bearing to generatingWill Hawkins
The newest version of the specification replaces the term bearing with the term generating. This patch brings the updated language to the code to make it easier to track the implementation's conformance to the spec.
2022-03-18Document why `http2.Transport{}` is required.Will Hawkins
2022-03-18Make sure that we format with short lines.Will Hawkins
2022-03-18Move from hawkinsw repository ownership to Apple repository ownership.Will Hawkins
2022-03-16Format: Add a line-length formatting.Will Hawkins
2022-03-16Bugfix: Stop doing load-inducing downloads before RPM calculationWill Hawkins
This fix might be controversial and we will have to confirm it with the protocol designers: We will stop the actual download of the "large" file when we are about to start doing the RPM calculation.
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