diff options
author | Valentin Bartenev <vbart@nginx.com> | 2015-11-17 19:01:41 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2015-11-17 19:01:41 +0300 |
commit | 9ef4b63328f534a647b367be1bce3b5a159e7c32 (patch) | |
tree | 36e0e561795724da57a345ee3e0e597e8ac6ea91 /src/http/modules/ngx_http_proxy_module.c | |
parent | 3aef20d257b5afb385da7fa85dfeed89cf9314ea (diff) | |
download | nginx-9ef4b63328f534a647b367be1bce3b5a159e7c32.tar.gz nginx-9ef4b63328f534a647b367be1bce3b5a159e7c32.zip |
Adjusted file->sys_offset after the write() syscall.
This fixes suboptimal behavior caused by surplus lseek() for sequential writes
on systems without pwrite(). A consecutive read after write might result in an
error on systems without pread() and pwrite().
Fortunately, at the moment there are no widely used systems without these
syscalls.
Diffstat (limited to 'src/http/modules/ngx_http_proxy_module.c')
0 files changed, 0 insertions, 0 deletions