matrix-org / complement-crypto

Apache License 2.0
6 stars 4 forks source link

MITM options helpers don't compose well #68

Open kegsay opened 1 month ago

kegsay commented 1 month ago

If you want both a callback server and to restrict an endpoint, you need to fallback to WithMITMOptions and cannot use WithSniffedEndpoint. We should make this composable.

kegsay commented 2 weeks ago

Also if you want to block requests and listen, and then just drop the blocking, you can't do this currently. You need to take away the blocking and listening then re-add the listening.