Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
}
sent_header = true;
} else {
+ /* Send progress field. Note that this diverge from the original S3
+ * spec. We do this in order to keep connection alive.
+ */
s->formatter->dump_int("Progress", (uint64_t)ofs);
}
rgw_flush_formatter(s, s->formatter);
dump_errno(s);
end_header(s);
+ /* Send progress information. Note that this diverge from the original swift
+ * spec. We do this in order to keep connection alive.
+ */
if (ret == 0) {
s->formatter->open_array_section("progress");
}