Daniel Glöckner wrote:

> I've corrected the code for range requests.

  I am about to apply this patch. It is going to be included on the
  0.4.25 release, but I'm currently hesitating about this..
>
> diff -rud cherokee-0.4.23/cherokee/connection.c 
cherokee-0.4.23-my/cherokee/connection.c
> --- cherokee-0.4.23/cherokee/connection.c  Thu May 19 19:54:55 2005
> +++ cherokee-0.4.23-my/cherokee/connection.c       Sun Jun 19 22:44:48 2005
> @@ -1190,8 +1190,8 @@
>                    num_len++;
>            }
>            tmp[num_len] = '\0';
> -          cnt->range_end = atoi (tmp);
> -          if (cnt->range_end < 0){
> +          cnt->range_end = atoi (tmp) + 1;
> +          if (cnt->range_end < 1){
>                    return ret_error;
>            }
>    }

  Why +1? It doesn't make sense to me..

--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to