https://sourceware.org/bugzilla/show_bug.cgi?id=32559

            Bug ID: 32559
           Summary: nit: debuginfod client callback size parameter
                    sometimes wrong
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: debuginfod
          Assignee: unassigned at sourceware dot org
          Reporter: fche at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

While testing out the IMA recipe on the elfutils/Debuginfod.html page, ran into
this little peculiarity:

url 0
https://debuginfod.elfutils.org/buildid/1ba84b92a0ae2a9fa2f1b8033a583c6eb223c204/debuginfo
query 1 urls in parallel
header HTTP/1.1 200 OK
header Date: Tue, 14 Jan 2025 19:43:22 GMT
header Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_qos/11.70
header Cache-Control: public
header Last-Modified: Wed, 17 Jan 2024 00:00:00 GMT
header X-DEBUGINFOD-IMASIGNATURE:
030204388b603e00473045022100cc4af897e4b66b35ae851b1e3a7b0a69f522a00bb420f1e412760b26f0addf7b02205581d79e88800044bd05ed83eb957b48fb6179ae76b6145307edebd6cc29f98f
header X-DEBUGINFOD-FILE:
/usr/lib/debug/usr/bin/klist-1.21.2-3.fc39.x86_64.debug
header X-DEBUGINFOD-ARCHIVE:
/mnt/fedora_koji_prod/koji/packages/krb5/1.21.2/3.fc39/x86_64/krb5-workstation-debuginfo-1.21.2-3.fc39.x86_64.rpm
header X-DEBUGINFOD-SIZE: 62112
header Content-Type: application/octet-stream
header Vary: Accept-Encoding
header Content-Encoding: gzip
header Strict-Transport-Security: max-age=16070400
header Access-Control-Allow-Origin: *
header Content-Length: 23380
[...]
Downloading from https://debuginfod.elfutils.org/ 62112/23380


Note the odd denominator.  I suspect it's caused by the unusual situation where
this particular debuginfod server, bless its heart, can supply both
Content-Length (post-compression size) and X-DEBUGINFOD-SIZE (pre-compression
size) in its response header.  The client should prefer the latter to the
former if both are there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to