Commit 0fbcc14
committed
Ignore multiple brotli flush requests
For text_responder based handlers, brotli_output_buffer flush method was called twice:
From src/process_request.cpp:210
```
// make sure all bytes have been written. note that the writer can
// throw an exception here, leaving the xml document in a
// half-written state...
o_formatter->flush();
out->flush();
```
This was triggering an unnecessary assertion failure.1 parent 564e893 commit 0fbcc14
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
0 commit comments