Skip to content

Commit

Permalink
Update internal/netxlite/httpfactory.go
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone authored Sep 14, 2023
1 parent cabe77e commit a94d747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/netxlite/httpfactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func HTTPTransportOptionMaxConnsPerHost(value int) HTTPTransportOption {
}

// HTTPTransportOptionDisableCompression configures the .DisableCompression field, which
// otherwise uses the default set in github.com/ooni/oohttp, i.e., false.
// otherwise is set to true, so that this code is ready for measuring out of the box.
func HTTPTransportOptionDisableCompression(value bool) HTTPTransportOption {
return func(txp *oohttp.Transport) {
txp.DisableCompression = value
Expand Down

0 comments on commit a94d747

Please sign in to comment.