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

Move on from the WSGI environment to something that supports at least HTTP 1.1 #21

Open
kalehmann opened this issue Aug 29, 2020 · 1 comment

Comments

@kalehmann
Copy link

Anki desktop tries to use a persistent HTTP connection with chunked transfer encoding.
As this is not supported by webob, newer versions of Anki require a reverse proxy that "unchunks" the requests, e.g.

server {
    listen      27701;
    server_name default;

    location / {
        proxy_http_version 1.0;
        proxy_pass         http://ankisyncd:27701/;
    }
}

This introduces another service that needs to run on the host next to the anki sync server. Therefore I suggest a switch to Twisted.

@dobefore
Copy link
Contributor

dobefore commented Sep 8, 2021

Hello,I just implement chunked transfer encoding without webserver like nginx,this works well in version 2.1.44 and 2.15.6 On Ankidroid.
just apply PR #110 .
Let me know if this have effect in other versions.
Thanks

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

No branches or pull requests

2 participants