Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvement: reduce workload or proxy #58

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

WofWca
Copy link

@WofWca WofWca commented Aug 22, 2024

...to be comparable to browser-based proxies.
Otherwise the proxy polls every 5 seconds, which is 12x as frequent as browser-based proxies do.
See

Due to changes in the API, I think this is gonna be a breaking change.

Why WIP:

  • This requires updating to a (not yet released) Snowflake version.
    For reference, see de01c06
  • I am not sure whether it is OK to log.Fatalf inside the main function instead of in the goroutine.
  • Please verify that this will produce sane C binding outputs, and is good otherwise - I do not really understand this part.
  • Maybe there is a better way to write this? I used int, thinking that it's not gonna be available for the C version.

...to be comparable to browser-based proxies.
Otherwise the proxy polls every 5 seconds, which is 12x as frequent
as browser-based proxies do.
See
- https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/issues/40373
- guardianproject/orbot#1105
@tladesignz
Copy link
Owner

Let me know, when a Snowflake version will be released, which contains your changes! Then we'll move this forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants