<div dir="ltr"><div><div><div><div><div>Hi Jacob,<br><br></div>I've played with this for ~10 minutes, and it didn't do anything bad to me :)<br><br></div>I've browsed a few "known" websites, and a few "unknown", with and without rules; it looks fast (which is good) and didn't crash or hang anything (which is even better).<br><br></div>Is there any specific tests you'd like me to run? I'm using my (very) old laptop (core2duo T7300@2.00GHz, 2GB RAM, Debian Jessie, iceweasel 31.3.0esr-1); I'm not going to have access to my "good" laptop until mid-January...<br><br></div>Thanks!<br><br></div>Claudio<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 28, 2015 at 3:13 AM, Jacob Hoffman-Andrews <span dir="ltr"><<a href="mailto:jsha@eff.org" target="_blank">jsha@eff.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
The Firefox version of HTTPSE reads its rulesets from a sqlite file and<br>
caches them in memory. The current version does this read synchornously<br>
the first time a given ruleset is encountered, which has the potential<br>
to lock up the UI thread when disk is slow.<br>
<br>
I've got a branch going that switches to reading asynchronously from<br>
SQLite. To make it work I had to borrow a subtle hack from AdBlock Plus:<br>
If we get a request and we don't yet have the information about what to<br>
do with it, we redirect the request to its own URL, then suspend it.<br>
Once we get back data from SQLite, we result the request. The redirect<br>
handler fires a second time, but now we have the data cached and can<br>
rewrite immediately. It's a pretty tricksy change, so I'd like some help<br>
testing it out. Branch is here:<br>
<br>
<a href="https://github.com/EFForg/https-everywhere/compare/async?expand=1" rel="noreferrer" target="_blank">https://github.com/EFForg/https-everywhere/compare/async?expand=1</a><br>
<br>
Package for testing is here, along with a signature:<br>
<br>
<a href="https://jacob.hoffman-andrews.com/https-everywhere-5.1.3asyncbeta-eff.xpi.html" rel="noreferrer" target="_blank">https://jacob.hoffman-andrews.com/https-everywhere-5.1.3asyncbeta-eff.xpi.html</a><br>
<br>
Thanks,<br>
Jacob<br>
_______________________________________________<br>
HTTPS-Everywhere mailing list<br>
<a href="mailto:HTTPS-Everywhere@lists.eff.org">HTTPS-Everywhere@lists.eff.org</a><br>
<a href="https://lists.eff.org/mailman/listinfo/https-everywhere" rel="noreferrer" target="_blank">https://lists.eff.org/mailman/listinfo/https-everywhere</a></blockquote></div><br></div>