diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-09 10:47:20 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-09 10:47:20 +0000 |
commit | fe7cdaa479c8dd9663f503db594c7fea33f667d9 (patch) | |
tree | 71ee24558672bd410b65bcc37d116faa7ae34342 | |
parent | 9adeb265792f0049321c34bf9e32674b0be65942 (diff) |
fcgi-test: be less verbose
-rw-r--r-- | regress/fcgi-test.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/regress/fcgi-test.c b/regress/fcgi-test.c index 3c1fd5e..ea5cf65 100644 --- a/regress/fcgi-test.c +++ b/regress/fcgi-test.c @@ -194,12 +194,10 @@ main(int argc, char **argv) err(1, "listen"); for (;;) { - warnx("waiting for a request"); if ((s = accept(sock, NULL, NULL)) == -1) { warn("retrying; accept failed"); continue; } - warnx("got a connection"); assert_record(s, FCGI_BEGIN_REQUEST); @@ -221,14 +219,10 @@ main(int argc, char **argv) assert_record(s, FCGI_STDIN); - warnx("sending the response"); - prepare_header(&hdr, FCGI_STDOUT, 1, len, 0); must_write(s, &hdr, sizeof(hdr)); must_write(s, msg, len); - warnx("closing the request"); - prepare_header(&hdr, FCGI_END_REQUEST, 1, sizeof(end), 0); write(s, &hdr, sizeof(hdr)); memset(&end, 0, sizeof(end)); |