In message <[EMAIL PROTECTED]>, Saint-Genest Gwenael writes: >Rich Christiansen wrote:
>> transfered. We deal a lot with large files (30MB-100MB), so many of our >> file transfers are cut short. We need to be able to log exactly how >> many bytes were actually transfered. Is this possible? > > if (WRK_Flush(w) == 0 && > sendfile(*w->wfd, fd, &off, len) != len) > w->werr++; > >The number of bytes copied (returned by sendfile) is not saved :( > >With a little patch you can save this value and use it for statistics. Please open a ticket for this, so we get the number properly integrated in the statistics. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ varnish-misc mailing list [email protected] http://projects.linpro.no/mailman/listinfo/varnish-misc
