Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2020-01-21 20:30:20 +0300
committerAnna Henningsen <anna@addaleax.net>2020-01-24 00:38:58 +0300
commit9cc747bfcea131797fbf0fcc805f1d7fa244b7da (patch)
tree2b9a0df517ed3da88b9ddeca6fda35851d43c913 /src/node_http2.cc
parentf6c6236d956be763ffe8eb1420e19eaab2962e8d (diff)
src: add C++-style sprintf utility
Add an utility that handles C++-style strings and objects well. PR-URL: https://github.com/nodejs/node/pull/31446 Fixes: https://github.com/nodejs/node/issues/28761 Fixes: https://github.com/nodejs/node/issues/31218 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'src/node_http2.cc')
-rw-r--r--src/node_http2.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node_http2.cc b/src/node_http2.cc
index e0d6398f2a4..e48bf091408 100644
--- a/src/node_http2.cc
+++ b/src/node_http2.cc
@@ -1,5 +1,5 @@
#include "aliased_buffer.h"
-#include "debug_utils.h"
+#include "debug_utils-inl.h"
#include "memory_tracker-inl.h"
#include "node.h"
#include "node_buffer.h"
@@ -1959,7 +1959,7 @@ std::string Http2Stream::diagnostic_name() const {
// Notify the Http2Stream that a new block of HEADERS is being processed.
void Http2Stream::StartHeaders(nghttp2_headers_category category) {
- Debug(this, "starting headers, category: %d", id_, category);
+ Debug(this, "starting headers, category: %d", category);
CHECK(!this->IsDestroyed());
session_->DecrementCurrentSessionMemory(current_headers_length_);
current_headers_length_ = 0;
@@ -2217,7 +2217,7 @@ int Http2Stream::DoWrite(WriteWrap* req_wrap,
req_wrap->Done(UV_EOF);
return 0;
}
- Debug(this, "queuing %d buffers to send", id_, nbufs);
+ Debug(this, "queuing %d buffers to send", nbufs);
for (size_t i = 0; i < nbufs; ++i) {
// Store the req_wrap on the last write info in the queue, so that it is
// only marked as finished once all buffers associated with it are finished.