aboutsummaryrefslogtreecommitdiffhomepage
path: root/tdnet/td/net/HttpContentLengthByteFlow.h
diff options
context:
space:
mode:
authorArseny Smirnov <arseny30@gmail.com>2020-07-22 21:52:00 +0300
committerArseny Smirnov <arseny30@gmail.com>2020-07-22 21:52:00 +0300
commit9ea1bc824f80c5540c6c33ed2e4b1e471ceea19a (patch)
tree6d7cbdcbe5e85d19495f1e930f4d092cb30c15d3 /tdnet/td/net/HttpContentLengthByteFlow.h
parent50da604d659f9b96732b9e5407f0511d5a7243b9 (diff)
ByteFlow: backpressure draft
GitOrigin-RevId: 09adce82dd88fcf84f41e525e45b07da03acc0f6
Diffstat (limited to 'tdnet/td/net/HttpContentLengthByteFlow.h')
-rw-r--r--tdnet/td/net/HttpContentLengthByteFlow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdnet/td/net/HttpContentLengthByteFlow.h b/tdnet/td/net/HttpContentLengthByteFlow.h
index 1c4129c73..38e5a70d7 100644
--- a/tdnet/td/net/HttpContentLengthByteFlow.h
+++ b/tdnet/td/net/HttpContentLengthByteFlow.h
@@ -15,7 +15,7 @@ class HttpContentLengthByteFlow final : public ByteFlowBase {
HttpContentLengthByteFlow() = default;
explicit HttpContentLengthByteFlow(size_t len) : len_(len) {
}
- void loop() override;
+ bool loop() override;
private:
static constexpr size_t MIN_UPDATE_SIZE = 1 << 14;