summaryrefslogtreecommitdiffstats
path: root/dnsdist-nghttp2-in.hh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:49:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:49:41 +0000
commitbc9695c2dfd9a1fe853cf491ef6b25c5014b2f64 (patch)
tree7f3b4785be7e10c3c6485c6ba43363f7a2bd509c /dnsdist-nghttp2-in.hh
parentReleasing progress-linux version 1.9.3-1~progress7.99u1. (diff)
downloaddnsdist-bc9695c2dfd9a1fe853cf491ef6b25c5014b2f64.tar.xz
dnsdist-bc9695c2dfd9a1fe853cf491ef6b25c5014b2f64.zip
Merging upstream version 1.9.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dnsdist-nghttp2-in.hh')
-rw-r--r--dnsdist-nghttp2-in.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/dnsdist-nghttp2-in.hh b/dnsdist-nghttp2-in.hh
index a2e58a4..e630778 100644
--- a/dnsdist-nghttp2-in.hh
+++ b/dnsdist-nghttp2-in.hh
@@ -116,6 +116,10 @@ private:
/* Whether we have data that we want to write to the socket,
but the socket is full. */
bool d_pendingWrite{false};
+ /* Whether we are currently inside the readHTTPData function,
+ which is not reentrant and could be called from itself via
+ the nghttp2 callbacks */
+ bool d_inReadFunction{false};
};
class NGHTTP2Headers