Skip to content

Commit e3ff2c4

Browse files
Add debug print statement for fast buffer path
1 parent 9593774 commit e3ff2c4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/WebSocketWrapper.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@ static uint32_t uWS_WebSocket_send_fast_buffer(v8::Local<v8::Object> receiver,
347347
auto array = message.As<v8::ArrayBufferView>();
348348
auto contents = array->Buffer()->GetBackingStore();
349349
char* data = static_cast<char*>(contents->Data()) + array->ByteOffset();
350+
351+
printf("Hitting fast buffer path\n");
350352

351353
return ws->send(std::string_view(data, array->ByteLength()),
352354
uWS::OpCode::BINARY, compress);

0 commit comments

Comments
 (0)