Add comment regarding BloomFilter

This commit is contained in:
Alex Hultman
2020-08-06 17:37:00 +02:00
parent 2a791726c2
commit dd0f220040
+2
View File
@@ -259,6 +259,8 @@ private:
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) {
/* 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;
if (remainingStreamingBytes) {