aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/sledjchisl/sledjchisl.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 05e35a9..f04d5ff 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -8292,6 +8292,14 @@ sendReply:
8292 8292
8293fcgiDone: 8293fcgiDone:
8294 FCGI_Finish(); 8294 FCGI_Finish();
8295
8296 struct timespec now;
8297 if (-1 == clock_gettime(CLOCK_REALTIME, &now))
8298 perror_msg("Unable to get the time.");
8299 double n = (now.tv_sec * 1000000000.0) + now.tv_nsec;
8300 double t = (Rd->then.tv_sec * 1000000000.0) + Rd->then.tv_nsec;
8301 T("Finished web request, took %lf seconds for %s %s://%s%s -> %s%s", (n - t) / 1000000000.0, Rd->Method, Rd->Scheme, Rd->Host, Rd->RUri, webRoot, Rd->Path);
8302
8295 if (NULL != Rd->outQuery) free(Rd->outQuery); 8303 if (NULL != Rd->outQuery) free(Rd->outQuery);
8296 if (NULL != Rd->shs.name) free(Rd->shs.name); 8304 if (NULL != Rd->shs.name) free(Rd->shs.name);
8297 Rd->shs.name = NULL; 8305 Rd->shs.name = NULL;
@@ -8312,12 +8320,6 @@ fcgiDone:
8312 if (Rd->lnk) free(Rd->lnk); 8320 if (Rd->lnk) free(Rd->lnk);
8313 free(Rd->RUri); 8321 free(Rd->RUri);
8314 8322
8315 struct timespec now;
8316 if (-1 == clock_gettime(CLOCK_REALTIME, &now))
8317 perror_msg("Unable to get the time.");
8318 double n = (now.tv_sec * 1000000000.0) + now.tv_nsec;
8319 double t = (Rd->then.tv_sec * 1000000000.0) + Rd->then.tv_nsec;
8320 I("Finished web request, took %lf seconds", (n - t) / 1000000000.0);
8321 free(Rd); 8323 free(Rd);
8322 } 8324 }
8323 8325