Klaus Demo nginx / c5a60bb
add debug log Igor Sysoev 15 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
253253 #else
254254 offset = (int32_t) file->file_pos;
255255 #endif
256
257 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0,
258 "sendfile: @%O %uz", file->file_pos, file_size);
259
256260 rc = sendfile(c->fd, file->file->fd, &offset, file_size);
257261
258262 if (rc == -1) {