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

Martin Cermak <mcermak at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16478|0                           |1
        is obsolete|                            |

--- Comment #4 from Martin Cermak <mcermak at redhat dot com> ---
Created attachment 16481
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16481&action=edit
proposed patch

The attached patch works like this:

$ ./debuginfod --homepage=https://sourceware.org/elfutils/Debuginfod.html
[Mon 24 Nov 2025 10:18:31 AM GMT] (1672412/1672412): opened database
/home/mcermak/.debuginfod.sqlite rw ro
[ ... stuff deleted ... ]
[Mon 24 Nov 2025 10:18:32 AM GMT] (1672412/1672425): groomed database in
0.00075738s
[Mon 24 Nov 2025 10:18:41 AM GMT] (1672412/1672416): 127.0.0.1:50230
UA:Mozilla/5.0X11Linuxx86_64rv:145.0Gecko/20100101Firefox/145.0 XFF: GET / 302
27 0+0ms

AndtThe http exchange looks like this: 

> GET / HTTP/1.1
> Host: localhost:8002
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:145.0) Gecko/20100101 
> Firefox/145.0
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: en-US,en;q=0.5
> Accept-Encoding: gzip, deflate, br, zstd
> Connection: keep-alive
> Upgrade-Insecure-Requests: 1
> Sec-Fetch-Dest: document
> Sec-Fetch-Mode: navigate
> Sec-Fetch-Site: none
> Sec-Fetch-User: ?1
> Priority: u=0, i


> HTTP/1.1 302 Found
> Date: Mon, 24 Nov 2025 10:16:36 GMT
> Content-Type: text/plain
> Location: https://sourceware.org/elfutils/Debuginfod.html
> Content-Length: 27
> 
> debuginfod (elfutils) 0.194

The redirection seems to work.

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

Reply via email to