Skip to content
Snippets Groups Projects
Commit 4d38034d authored by Ted Bowman's avatar Ted Bowman
Browse files

remove setContentLengthHeader for now

parent 963e48d0
No related branches found
No related tags found
No related merge requests found
...@@ -325,10 +325,8 @@ public static function getSubscribedEvents(): array { ...@@ -325,10 +325,8 @@ public static function getSubscribedEvents(): array {
// There is no specific reason for choosing 16 beside it should be executed // There is no specific reason for choosing 16 beside it should be executed
// before ::onRespond(). // before ::onRespond().
$events[KernelEvents::RESPONSE][] = ['onAllResponds', 16]; $events[KernelEvents::RESPONSE][] = ['onAllResponds', 16];
// Run very late, after all other response subscribers have run. However, // @todo Removing call to setContentLengthHeader. This will need to be fixed
// any response subscribers that convert a response to a streamed response // before commit. See https://drupal.org/i/3392196.
// must run after this and undo what this does.
$events[KernelEvents::RESPONSE][] = ['setContentLengthHeader', -1024];
return $events; return $events;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment