[tor-commits] [tor/maint-0.2.8] refactor the #19003 patches