comparison src/os/unix/ngx_files.c @ 692:6db6e93f55ee NGINX_1_3_9

nginx 1.3.9 *) Feature: support for chunked transfer encoding while reading client request body. *) Feature: the $request_time and $msec variables can now be used not only in the "log_format" directive. *) Bugfix: cache manager and cache loader processes might not be able to start if more than 512 listen sockets were used. *) Bugfix: in the ngx_http_dav_module.
author Igor Sysoev <http://sysoev.ru>
date Tue, 27 Nov 2012 00:00:00 +0400
parents 660139fd80ca
children 88a1b4797f2e
comparison
equal deleted inserted replaced
691:acfd484db0ca 692:6db6e93f55ee
239 "writev() \"%s\" has written only %z of %uz", 239 "writev() \"%s\" has written only %z of %uz",
240 file->name.data, n, size); 240 file->name.data, n, size);
241 return NGX_ERROR; 241 return NGX_ERROR;
242 } 242 }
243 243
244 ngx_log_debug2(NGX_LOG_DEBUG_CORE, file->log, 0,
245 "writev: %d, %z", file->fd, n);
246
244 file->sys_offset += n; 247 file->sys_offset += n;
245 file->offset += n; 248 file->offset += n;
249 offset += n;
246 total += n; 250 total += n;
247 251
248 } while (cl); 252 } while (cl);
249 253
250 return total; 254 return total;