
Make sure WRK_Flush() always resets w->niov so WRK_Write() does not
overrun the w->iov.

Because niov is right after iov in struct worker, it is hard to predict
what the effect of hitting this bug, but "core dump" is almost a given.

I don't think it has been likely to happen a lot however, as it would
require a full complement of HTTP headers or a very fragmented object.

Coverity Scan (CID:7)




git-svn-id: 7d4b18ab7d176792635d6a7a77dd8cbbea8e8daa@2369 d4fa192b-c00b-0410-8231-f00ffab90ce4

ssm/pkg-varnish,wikimedia/operations-debs-varnish,CartoDB/Varnish-Cache,CartoDB/Varnish-Cache,CartoDB/Varnish-Cache,ssm/pkg-varnish,ssm/pkg-varnish,wikimedia/operations-debs-varnish,wikimedia/operations-debs-varnish,wikimedia/operations-debs-varnish,wikimedia/operations-debs-varnish,ssm/pkg-varnish,ssm/pkg-varnish