[PATCH] http: fix superfluous null line in range request header

2016-04-06 Thread Michael Chang
At least the apache sever is very unhappy with that extra null line and will take more than ten seconds in responding to each range request, which slows down a lot the entire http file transfer process or even time out. --- grub-core/net/http.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(

Re: missing arguments for script functions

2016-04-06 Thread Olaf Hering
On Thu, Mar 31, Andrei Borzenkov wrote: > On Thu, Mar 31, 2016 at 11:28 AM, Olaf Hering wrote: > > Is this supposed to work? > > > > function f() { > > This gives syntax error to me. But > > function f { > echo $1 > } > > works. It does. Not sure what exactly was used in my first attempt whic