• Pieter Noordhuis's avatar
    Keep track of bytes per callback · 993981a0
    Pieter Noordhuis authored
    This allows to drop the requirement that the request itself is
    responsible for keeping track of the number of bytes it has emitted via
    `write_ptr` and the number of bytes that were actually written in
    `write_cb`. The request queue now lets the request know how many bytes
    have been written on its account, instead of asking for it.
    993981a0
request.c 6.18 KB