Klaus Demo nginx / 2754fd3
Fixed sendfile() trailers on OS X (8e903522c17a, 1.7.8). The trailer.count variable was not initialized if there was a header, resulting in "sendfile() failed (22: Invalid argument)" alerts on OS X if the "sendfile" directive was used. The bug was introduced in 8e903522c17a (1.7.8). Maxim Dounin 7 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
110110 }
111111
112112 send += trailer.size;
113
114 } else {
115 trailer.count = 0;
113116 }
114117
115118 /*