* unexpected problem with radosgw fcgi
@ 2012-11-07 14:16 Sławomir Skowron
2012-11-08 21:48 ` Yehuda Sadeh
0 siblings, 1 reply; 3+ messages in thread
From: Sławomir Skowron @ 2012-11-07 14:16 UTC (permalink / raw)
To: ceph-devel@vger.kernel.org
I have realize that requests from fastcgi in nginx from radosgw returning:
HTTP/1.1 200, not a HTTP/1.1 200 OK
Any other cgi that i run, for example php via fastcgi return this like
RFC says, with OK.
Is someone experience this problem ??
I see in code:
./src/rgw/rgw_rest.cc line 36
const static struct rgw_html_errors RGW_HTML_ERRORS[] = {
{ 0, 200, "" },
....
What if i change this into:
{ 0, 200, "OK" },
--
-----
Regards
Sławek Skowron
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: unexpected problem with radosgw fcgi
2012-11-07 14:16 unexpected problem with radosgw fcgi Sławomir Skowron
@ 2012-11-08 21:48 ` Yehuda Sadeh
2012-11-08 22:01 ` Sławomir Skowron
0 siblings, 1 reply; 3+ messages in thread
From: Yehuda Sadeh @ 2012-11-08 21:48 UTC (permalink / raw)
To: Sławomir Skowron; +Cc: ceph-devel@vger.kernel.org
On Wed, Nov 7, 2012 at 6:16 AM, Sławomir Skowron <szibis@gmail.com> wrote:
> I have realize that requests from fastcgi in nginx from radosgw returning:
>
> HTTP/1.1 200, not a HTTP/1.1 200 OK
>
> Any other cgi that i run, for example php via fastcgi return this like
> RFC says, with OK.
>
> Is someone experience this problem ??
I have seen a similar issue in the past with nginx. It doesn't happen
with apache. My guess is that it's either something with the way nginx
is configured, or some difference in the fastcgi module
implementation.
>
> I see in code:
>
> ./src/rgw/rgw_rest.cc line 36
>
> const static struct rgw_html_errors RGW_HTML_ERRORS[] = {
> { 0, 200, "" },
> ....
>
> What if i change this into:
>
> { 0, 200, "OK" },
The third field there specifies the error code embedded in the
returned XML with S3, so it wouldn't fix anything.
Yehuda
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: unexpected problem with radosgw fcgi
2012-11-08 21:48 ` Yehuda Sadeh
@ 2012-11-08 22:01 ` Sławomir Skowron
0 siblings, 0 replies; 3+ messages in thread
From: Sławomir Skowron @ 2012-11-08 22:01 UTC (permalink / raw)
To: Yehuda Sadeh; +Cc: ceph-devel@vger.kernel.org
Ok, i will digg in nginx, thanks.
Dnia 8 lis 2012 o godz. 22:48 Yehuda Sadeh <yehuda@inktank.com> napisał(a):
> On Wed, Nov 7, 2012 at 6:16 AM, Sławomir Skowron <szibis@gmail.com> wrote:
>> I have realize that requests from fastcgi in nginx from radosgw returning:
>>
>> HTTP/1.1 200, not a HTTP/1.1 200 OK
>>
>> Any other cgi that i run, for example php via fastcgi return this like
>> RFC says, with OK.
>>
>> Is someone experience this problem ??
>
> I have seen a similar issue in the past with nginx. It doesn't happen
> with apache. My guess is that it's either something with the way nginx
> is configured, or some difference in the fastcgi module
> implementation.
>
>>
>> I see in code:
>>
>> ./src/rgw/rgw_rest.cc line 36
>>
>> const static struct rgw_html_errors RGW_HTML_ERRORS[] = {
>> { 0, 200, "" },
>> ....
>>
>> What if i change this into:
>>
>> { 0, 200, "OK" },
>
> The third field there specifies the error code embedded in the
> returned XML with S3, so it wouldn't fix anything.
>
>
> Yehuda
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-08 22:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-07 14:16 unexpected problem with radosgw fcgi Sławomir Skowron
2012-11-08 21:48 ` Yehuda Sadeh
2012-11-08 22:01 ` Sławomir Skowron
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.