ooni / probe

OONI Probe network measurement tool for detecting internet censorship
https://ooni.org/install
BSD 3-Clause "New" or "Revised" License
749 stars 142 forks source link

dslx: read HTTP response using StreamAllContext #2622

Open bassosimone opened 8 months ago

bassosimone commented 8 months ago

We should read the HTTP response using stream all context and arrange for returning a valid response body even when the whole test times out reading. We should basically copy the approach of web_connectivity@v0.5.

The overall objective here is to cleanup and review dslx, then start using it in production and rewrite experiments using it. In turn, by doing that, we'll enable collecting better throttling metrics for experiments.