Skip to content

Nginx request buffering configuration #40

@etj

Description

@etj

uwsgi reports this warning when booting:

*** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers ***

nginx is usually a buffered webserver, unless otherwise configured.

The configuration indeed states:

proxy_request_buffering off;

proxy_request_buffering off;

uwsgi_request_buffering off;

By removing buffering, django is aware about how many bytes have been transferred, so that it can send some transfer stats to the client real time.
Anyway such buffering may cause uwsgi to terminate connections while uploading.

We need to find out a way to deal with this.

Metadata

Metadata

Assignees

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