webbuild-*.cgi: unbuffered stdbuf
This commit is contained in:
parent
47e5bacd9c
commit
81df6e406b
@ -7,7 +7,7 @@ if [ "$QUERY_STRING" ]; then
|
||||
$contentdisposition
|
||||
Content-Type: application/octet-stream
|
||||
"
|
||||
stdbuf -oL curl -4 --connect-timeout 20 "http://$WEBBUILD_HOST/cgi-bin/webbuild?$QUERY_STRING" -H "Content-Type: $CONTENT_TYPE"
|
||||
stdbuf -o0 curl -4 --connect-timeout 20 "http://$WEBBUILD_HOST/cgi-bin/webbuild?$QUERY_STRING" -H "Content-Type: $CONTENT_TYPE"
|
||||
else
|
||||
echo "\
|
||||
Content-Type: text/xml
|
||||
@ -15,5 +15,5 @@ Pragma: no-cache
|
||||
|
||||
"
|
||||
|
||||
stdbuf -oL curl -4 --connect-timeout 20 "http://$WEBBUILD_HOST/cgi-bin/webbuild" -H "Content-Type: $CONTENT_TYPE" --data-binary @- --stderr /dev/null
|
||||
stdbuf -o0 curl -4 --connect-timeout 20 "http://$WEBBUILD_HOST/cgi-bin/webbuild" -H "Content-Type: $CONTENT_TYPE" --data-binary @- --stderr /dev/null
|
||||
fi
|
||||
|
@ -7,7 +7,7 @@ if [ "$QUERY_STRING" ]; then
|
||||
$contentdisposition
|
||||
Content-Type: application/octet-stream
|
||||
"
|
||||
stdbuf -oL curl -4 --connect-timeout 20 "http://$WEBBUILD_HOST/cgi-bin/webbuild?$QUERY_STRING" -H "Content-Type: $CONTENT_TYPE"
|
||||
stdbuf -o0 curl -4 --connect-timeout 20 "http://$WEBBUILD_HOST/cgi-bin/webbuild?$QUERY_STRING" -H "Content-Type: $CONTENT_TYPE"
|
||||
else
|
||||
echo "\
|
||||
Content-Type: text/xml
|
||||
@ -15,5 +15,5 @@ Pragma: no-cache
|
||||
|
||||
"
|
||||
|
||||
stdbuf -oL curl -4 --connect-timeout 20 "http://$WEBBUILD_HOST/cgi-bin/webbuild" -H "Content-Type: $CONTENT_TYPE" --data-binary @- --stderr /dev/null
|
||||
stdbuf -o0 curl -4 --connect-timeout 20 "http://$WEBBUILD_HOST/cgi-bin/webbuild" -H "Content-Type: $CONTENT_TYPE" --data-binary @- --stderr /dev/null
|
||||
fi
|
||||
|
@ -7,7 +7,7 @@ if [ "$QUERY_STRING" ]; then
|
||||
$contentdisposition
|
||||
Content-Type: application/octet-stream
|
||||
"
|
||||
stdbuf -oL curl -4 --connect-timeout 40 "http://$WEBBUILD_HOST/cgi-bin/webbuild?$QUERY_STRING" -H "Content-Type: $CONTENT_TYPE"
|
||||
stdbuf -o0 curl -4 --connect-timeout 40 "http://$WEBBUILD_HOST/cgi-bin/webbuild?$QUERY_STRING" -H "Content-Type: $CONTENT_TYPE"
|
||||
else
|
||||
echo "\
|
||||
Content-Type: text/xml
|
||||
@ -15,5 +15,5 @@ Pragma: no-cache
|
||||
|
||||
"
|
||||
|
||||
stdbuf -oL curl -4 --connect-timeout 40 "http://$WEBBUILD_HOST/cgi-bin/webbuild" -H "Content-Type: $CONTENT_TYPE" --data-binary @- --stderr /dev/null
|
||||
stdbuf -o0 curl -4 --connect-timeout 40 "http://$WEBBUILD_HOST/cgi-bin/webbuild" -H "Content-Type: $CONTENT_TYPE" --data-binary @- --stderr /dev/null
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user