Open Taeung opened 6 years ago
uftrace
#include <stdio.h> int main(int argc, char *argv[]) { const char *whom = "world"; if (argc > 1) whom = argv[1]; printf("Hello %s\n", whom); return 0; }
commit c3bd59b9323c9837889414b49a78f8afcc1a02fc Author: Anna Henningsen <anna@addaleax.net> Date: Sun Dec 10 00:33:02 2017 +0100 test: expand test-https-keep-alive-large-write Check that `serverConnectionHandle.writeQueueSize === 0` after a large write finished. PR-URL: https://github.com/nodejs/node/pull/17564 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> diff --git a/test/sequential/test-https-keep-alive-large-write.js b/test/sequent index 88468dc..5048f4f 100644 --- a/test/sequential/test-https-keep-alive-large-write.js +++ b/test/sequential/test-https-keep-alive-large-write.js @@ -41,7 +41,9 @@ const server = https.createServer({ }); serverConnectionHandle = res.socket._handle; - res.write(content); + res.write(content, () => { + assert.strictEqual(serverConnectionHandle.writeQueueSize, 0); + }); res.end(); })); server.setTimeout(serverTimeout);
├── 0000-cover-letter.patch ├── 0001-test-Add-test-cases-for-auto-args.patch ├── 0001-uftrace-Use-proper-error-reporting-function.patch ├── 0002-test-Add-test-cases-for-auto-args.patch ├── CONTRIBUTING.md ├── COPYING ├── INSTALL.md ├── Makefile ├── Makefile.include ├── NEWS ├── README.md ├── TODO ├── arch ├── check-deps ├── cmd-dump.c ├── cmd-dump.o ├── cmd-graph.c ├── cmd-graph.o ├── cmd-info.c ├── cmd-info.o ├── cmd-live.c ├── cmd-live.o ├── cmd-record.c ├── cmd-record.o ├── cmd-recv.c ├── cmd-recv.o ├── cmd-replay.c ├── cmd-replay.o ├── cmd-report.c ├── cmd-report.o ├── cmd-script.c ├── cmd-script.o ├── configure ├── doc ├── libmcount ├── libtraceevent ├── misc ├── scripts ├── tests ├── uftrace ├── uftrace.c ├── uftrace.h ├── uftrace.o ├── utils └── version.h
프로젝트 명
uftrace