add http range debug logging

Wed, 31 May 2023 13:08:49 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 31 May 2023 13:08:49 +0200
changeset 496
d511c13ba68d
parent 495
855a915472ff
child 497
8827517054ec

add http range debug logging

src/server/safs/service.c file | annotate | diff | comparison | revisions
--- a/src/server/safs/service.c	Wed May 31 12:49:44 2023 +0200
+++ b/src/server/safs/service.c	Wed May 31 13:08:49 2023 +0200
@@ -606,6 +606,8 @@
     char *range_header = pblock_findkeyval(pb_key_range, rq->headers);
     HttpRange *range = NULL;
     if(range_header) {
+        log_ereport(LOG_DEBUG, "send_file: range: %s", range_header);
+        
         int status;
         range = parse_range(sn, range_header, &status);
         if(status != PROTOCOL_OK) {

mercurial