Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3253158
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3253158
Commits
4d38034d
Commit
4d38034d
authored
1 year ago
by
Ted Bowman
Browse files
Options
Downloads
Patches
Plain Diff
remove setContentLengthHeader for now
parent
963e48d0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
+2
-4
2 additions, 4 deletions
.../Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
with
2 additions
and
4 deletions
core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
+
2
−
4
View file @
4d38034d
...
@@ -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
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment