Mercurial > hgrepos > hgweb.cgi > s4
changeset 137:1731efcb74c7
Add comment on dd bs=LARGE
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 25 Sep 2015 18:30:23 +0859 |
parents | 6b19f2d15ac6 |
children | 130114486d8c |
files | s4-funcs.sh |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-funcs.sh Fri Sep 25 18:13:29 2015 +0859 +++ b/s4-funcs.sh Fri Sep 25 18:30:23 2015 +0859 @@ -1033,6 +1033,7 @@ case "$REQUEST_METHOD" in get|GET) s="$QUERY_STRING" ;; post|POST) ## dd count=$CONTENT_LENGTH bs=1 of=$tmpf 2>/dev/null #slow + ## dd bs=$CONTENT_LENGTH count=1 of=$tmpf # NOT working # cat > $tmpf # too much? head -c $CONTENT_LENGTH > $tmpf # safe? (echo CL=$CONTENT_LENGTH; ls -lF $tmpf) 1>&3