[tor-commits] [tor/master] refactor the #19003 patches