DOWNLOAD_READ_NEXT
assert(p->state == DOWNLOAD_READ_NEXT);
p->state = DOWNLOAD_READ_NEXT;
if (p->state == DOWNLOAD_READ_NEXT) {