diff options
| author | Arseny Smirnov <arseny30@gmail.com> | 2020-07-22 21:52:00 +0300 |
|---|---|---|
| committer | Arseny Smirnov <arseny30@gmail.com> | 2020-07-22 21:52:00 +0300 |
| commit | 9ea1bc824f80c5540c6c33ed2e4b1e471ceea19a (patch) | |
| tree | 6d7cbdcbe5e85d19495f1e930f4d092cb30c15d3 /tdnet/td/net/HttpContentLengthByteFlow.h | |
| parent | 50da604d659f9b96732b9e5407f0511d5a7243b9 (diff) | |
ByteFlow: backpressure draft
GitOrigin-RevId: 09adce82dd88fcf84f41e525e45b07da03acc0f6
Diffstat (limited to 'tdnet/td/net/HttpContentLengthByteFlow.h')
| -rw-r--r-- | tdnet/td/net/HttpContentLengthByteFlow.h | 2 |
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; |
