1
0
mirror of https://github.com/openresty/openresty synced 2024-11-14 08:45:50 +01:00
openresty/patches/patch.2016.write.txt

15 lines
300 B
C

--- src/os/unix/ngx_files.c
+++ src/os/unix/ngx_files.c
@@ -356,6 +356,11 @@
n = 0;
for ( /* void */ ; cl; cl = cl->next) {
+
+ if (ngx_buf_special(cl->buf)) {
+ continue;
+ }
+
size = cl->buf->last - cl->buf->pos;
if (prev == cl->buf->pos) {