CVSROOT:        /cvs
Module name:    src
Changes by:     j...@cvs.openbsd.org    2025/06/11 10:12:22

Modified files:
        usr.sbin/rpki-client: http.c 

Log message:
Draw attention to inefficient HTTP/RRDP transfers

In verbose mode, draw some attention to inefficient transfers by logging
a message when snapshot/delta files were larger than a megabyte and were
transferred without using gzip or deflate compression as content encoding.

example 'rpki-client -v' output:

rpki-client: 
https://rrdp.lacnic.net/rrdp/66b09eea-03c7-435f-bb29-5bee810bd657/211887/d51... 
(172.233.4.134): downloaded 61834120 bytes without HTTP compression
rpki-client: 
https://cloudie.rpki.app/rrdp/d92cf37b-c955-4272-bbe6-efda084ad2de/6522/036f... 
(185.121.168.41): downloaded 1151499 bytes without HTTP compression
rpki-client: 
https://rrdp.twnic.tw/rrdp/71d39673-7062-4036-b080-957aa1b854b3/snapshot/176... 
(103.235.88.190): downloaded 12410151 bytes without HTTP compression
rpki-client: 
https://rpki-repo.registro.br/rrdp/b0982bb6-6f99-448a-9f71-91a86a455e39/9378... 
(200.160.2.50): downloaded 68520553 bytes without HTTP compression

"I think it is a horrible hack but fine." claudio@

Reply via email to