Skip to content

Commit

Permalink
Disable streaming for pylons requests, fixes #4431
Browse files Browse the repository at this point in the history
  • Loading branch information
bzar committed Feb 15, 2019
1 parent 93ac068 commit 4271332
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ckan/config/middleware/pylons_app.py
Expand Up @@ -138,10 +138,7 @@ def make_pylons_stack(conf, full_stack=True, static_files=True,
)

# Establish the Registry for this application
# The RegistryManager includes code to pop
# registry values after the stream has completed,
# so we need to prevent this with `streaming` set to True.
app = RegistryManager(app, streaming=True)
app = RegistryManager(app, streaming=False)

if asbool(static_files):
# Serve static files
Expand Down

0 comments on commit 4271332

Please sign in to comment.