Lines Matching refs:res_buflen
1184 h->res_buflen = res.off;
1185 if(h->res_buf_alloclen < (h->res_buflen + bodylen))
1187 h->res_buf = (char *)realloc(h->res_buf, (h->res_buflen + bodylen));
1188 h->res_buf_alloclen = h->res_buflen + bodylen;
1201 memcpy(h->res_buf + h->res_buflen, body, bodylen);
1202 h->res_buflen += bodylen;
1216 DPRINTF(E_DEBUG, L_HTTP, "HTTP RESPONSE: %.*s\n", h->res_buflen, h->res_buf);
1217 n = send(h->socket, h->res_buf, h->res_buflen, 0);
1222 else if(n < h->res_buflen)
1226 n, h->res_buflen);
1240 else if(n < h->res_buflen)
1244 n, h->res_buflen);