RGW: Refusing FastCGI request with empty CONTENT_LENGTH ? Why ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


In src/rgw/rgw_rest.cc you can find :

if (s->length) {
  if (*s->length == '\0')
    return -EINVAL;
  s->content_length = atoll(s->length);
}

So that means if there is a CONTENT_LENGTH field in the environment
but it's empty, then the request is just refused.

Why ?

As it turns out, nginx does send an empty CONTENT_LENGTH params ...
which means it doesn't work at all of course.


Cheers,

     Sylvain
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux