Skip to content

Large response delays in OPTIONS requests when using behind gunicorn + nginx with HTTPS with Python3 #242

@vegaelle

Description

@vegaelle

I noticed some strange response times on my server: on Chromium browser, the Isso requests took 20 seconds to respond. My website is served with HTTPS by Nginx, and Isso is served by Gunicorn in Python3.4.1. Strangely, firefox doesn’t suffer that lag, but a curl call shows the problem:

 $ time curl -XOPTIONS https://comments.gordon.re/count 
200 Okcurl -XOPTIONS https://comments.gordon.re/count  0,01s user 0,00s system 0% cpu 20,285 total

After some investigation @posativ came with a patch that seems to work on my issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions