proxy support #829

Sloučeno ručně
KitaitiMakoto sloučil 2 commity z větve dr-bonez/Plume:feature/proxy do větve main před 2021-01-13 14:20:37 +00:00
Přispěvatel

Adds support for using a proxy for federation.
Motivation is for being able to support homeservers running as Tor hidden services.

Threading config information into plume-common is the only reason this pr isn't very low impact.

Adds support for using a proxy for federation. Motivation is for being able to support homeservers running as Tor hidden services. Threading config information into plume-common is the only reason this pr isn't very low impact.
Vlastník

Thank you for pull request and sorry for late reply. But we have less time to review, now. Can you wait for a while, please? Thanks.

Thank you for pull request and sorry for late reply. But we have less time to review, now. Can you wait for a while, please? Thanks.
Vlastník

Sorry for very late reply.

What need proxy config is only ClientBuilder. How about to use CONFIG.proxy() directly in plume-common/src/activity_pub/mod.rs?

Sorry for very late reply. What need proxy config is only `ClientBuilder`. How about to use `CONFIG.proxy()` directly in `plume-common/src/activity_pub/mod.rs`?
Autor
Přispěvatel

I can't. CONFIG comes from plume-models, which has plume-common as a dependency. Pretty sure you can't have 2 crates that depend on each other.

I can't. CONFIG comes from plume-models, which has plume-common as a dependency. Pretty sure you can't have 2 crates that depend on each other.
Autor
Přispěvatel

rebased

rebased
KitaitiMakoto schválil/a tyto změny 2021-01-13 14:16:23 +00:00
Vlastník

Okay, I will merge. Thank you for your work!

Okay, I will merge. Thank you for your work!
Vlastník

Okay, I will merge. Thank you for your work!

Okay, I will merge. Thank you for your work!
KitaitiMakoto ručně sloučena revize ec8c17482d do main 2021-01-13 14:20:37 +00:00
Přihlaste se pro zapojení do konverzace.
Žádní posuzovatelé
Žádný milník
Žádný projekt
Žádní přiřazení uživatelé
2 účastníků
Oznámení
Termín dokončení
Termín dokončení není platný nebo je mimo rozsah. Použijte prosím formát „rrrr-mm-dd“.

Žádný termín dokončení.

Závislosti

Nejsou nastaveny žádné závislosti.

Reference: Plume/Plume#829
K dispozici není žádný popis.