Commit 8316ad3
committed
Improve capturing the legacy response
Make sure we don't leave an active output buffer behind when things
go south and an exception is thrown.
Additionally, don't try to use http_response_code() to figure out the
response status code if one has been returned from the $legacyExecutionCallback.1 parent 6343016 commit 8316ad3
1 file changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | | - | |
34 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
38 | 47 | | |
39 | 48 | | |
40 | 49 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| |||
0 commit comments