comparison src/os/unix/ngx_writev_chain.c @ 561:e48ebafc6939 release-0.3.2

nginx-0.3.2-RELEASE import *) Feature: the Sun Studio 10 C compiler support. *) Feature: the "proxy_upstream_max_fails", "proxy_upstream_fail_timeout", "fastcgi_upstream_max_fails", and "fastcgi_upstream_fail_timeout" directives.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 12 Oct 2005 13:50:36 +0000
parents 7bd37aef1e7e
children 326634fb9d47
comparison
equal deleted inserted replaced
560:8886091eddd2 561:e48ebafc6939
79 #endif 79 #endif
80 80
81 size = cl->buf->last - cl->buf->pos; 81 size = cl->buf->last - cl->buf->pos;
82 82
83 if (send + size > limit) { 83 if (send + size > limit) {
84 size = (ssize_t) limit - send; 84 size = (ssize_t) (limit - send);
85 } 85 }
86 86
87 if (prev == cl->buf->pos) { 87 if (prev == cl->buf->pos) {
88 iov->iov_len += size; 88 iov->iov_len += size;
89 89