Skip to content

Fix broken uwsgi test on windows - #785

Closed
PaulLodge wants to merge 1 commit into
apache:trunkfrom
PaulLodge:fix-broken-uwsgi-test
Closed

PaulLodge wants to merge 1 commit into
apache:trunkfrom
PaulLodge:fix-broken-uwsgi-test

Conversation

@PaulLodge

Copy link
Copy Markdown

During the test the uwsgi protocol (PATH_INFO) returns the path, which on Linux < 4096 bytes, unfortunately on Windows due to the way in which path is used, the value > 4096. Setting the read buffer to 8192 on Windows should be more than enough. As this is a test and not production code this having a "magic" number instead of reading chunks into a buffer is absolutely fine.

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.

1 participant