Add comment regarding BloomFilter
This commit is contained in:
@@ -259,6 +259,8 @@ private:
|
|||||||
public:
|
public:
|
||||||
void *consumePostPadded(char *data, int length, void *user, void *reserved, fu2::unique_function<void *(void *, HttpRequest *)> &&requestHandler, fu2::unique_function<void *(void *, std::string_view, bool)> &&dataHandler, fu2::unique_function<void *(void *)> &&errorHandler) {
|
void *consumePostPadded(char *data, int length, void *user, void *reserved, fu2::unique_function<void *(void *, HttpRequest *)> &&requestHandler, fu2::unique_function<void *(void *, std::string_view, bool)> &&dataHandler, fu2::unique_function<void *(void *)> &&errorHandler) {
|
||||||
|
|
||||||
|
/* This resets BloomFilter by construction, but later we also reset it again.
|
||||||
|
* Optimize this to skip resetting twice (req could be made global) */
|
||||||
HttpRequest req;
|
HttpRequest req;
|
||||||
|
|
||||||
if (remainingStreamingBytes) {
|
if (remainingStreamingBytes) {
|
||||||
|
|||||||
Reference in New Issue
Block a user