# HG changeset patch # User Henry S. Thompson # Date 1619457478 0 # Node ID 1d6fde73789d31fce648adea50cf221e259b6926 # Parent bcea0410143cc0f5544f9d90e2dbfba17a878e7d debugging diff -r bcea0410143c -r 1d6fde73789d bin/ix.sh --- a/bin/ix.sh Mon Apr 26 17:17:38 2021 +0000 +++ b/bin/ix.sh Mon Apr 26 17:17:58 2021 +0000 @@ -66,7 +66,7 @@ dd if="$f" of=/dev/stdout skip=$o count=$l \ iflag=skip_bytes,count_bytes 2>> /tmp/ix_dd_log.txt fi | \ -{ unpigz -dp 1 -c || { printf "dd failure?: %s %s %s\n" $f $o $l 1>&2 ; continue ; } } |\ +{ ~/gentoo/usr/bin/igzip -dc || { printf "dd failure?: %s %s %s\n" $f $o $l 1>&2 ; continue ; } } |\ { s="w" if [ "$p" ] then @@ -106,6 +106,7 @@ then # HTTP header wl=$((wl - ( ${#L} + 1 ))) + #echo $wl $bl 1>&2 case "$L" in Content-Length:\ *) bl=${L##*: } bl=${bl%%*([ [:space:]])}