https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2015-07-22T16:17:37ZCeph rgw - Bug #12432: HTTP return code is not being logged by CivetWeb https://tracker.ceph.com/issues/12432?journal_id=553982015-07-22T16:17:37ZYehuda Sadehyehuda@redhat.com
<ul><li><strong>Tracker</strong> changed from <i>Tasks</i> to <i>Bug</i></li><li><strong>Project</strong> changed from <i>Stable releases</i> to <i>rgw</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li><li><strong>Regression</strong> set to <i>No</i></li></ul> rgw - Bug #12432: HTTP return code is not being logged by CivetWeb https://tracker.ceph.com/issues/12432?journal_id=558372015-07-29T02:02:14ZYuan Zhouyuan.zhou@intel.com
<ul></ul><p>I've traced the code, the http return code is printed:<br /><a class="external" href="https://github.com/ceph/civetweb/blob/master/src/civetweb.c#L6081">https://github.com/ceph/civetweb/blob/master/src/civetweb.c#L6081</a></p>
<p>but it's always -1(the initial value). Looks like some bug in civetweb.</p> rgw - Bug #12432: HTTP return code is not being logged by CivetWeb https://tracker.ceph.com/issues/12432?journal_id=558382015-07-29T02:08:57ZYehuda Sadehyehuda@redhat.com
<ul></ul><p>I have a fix for that already, need to send a pull request.</p> rgw - Bug #12432: HTTP return code is not being logged by CivetWeb https://tracker.ceph.com/issues/12432?journal_id=558392015-07-29T02:23:43Zguanghui wanggh0506@outlook.com
<ul></ul><p>I have ask the developer of civetweb for this issues.<br />Here is the response.</p>
<p>[[<a class="external" href="https://github.com/bel2125/civetweb/issues/178">https://github.com/bel2125/civetweb/issues/178</a>]]</p>
<p>and now we have the way to modify the http return code in civetweb<br />but the callback.begin_request's return value may be modifyed.</p>
<p>[[<a class="external" href="https://github.com/bel2125/civetweb/commit/0e5206006cadb3145165e6beaa7768f84763a3c9">https://github.com/bel2125/civetweb/commit/0e5206006cadb3145165e6beaa7768f84763a3c9</a>]]</p> rgw - Bug #12432: HTTP return code is not being logged by CivetWeb https://tracker.ceph.com/issues/12432?journal_id=560032015-07-31T18:10:30ZYehuda Sadehyehuda@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li><li><strong>Assignee</strong> set to <i>Orit Wasserman</i></li></ul> rgw - Bug #12432: HTTP return code is not being logged by CivetWeb https://tracker.ceph.com/issues/12432?journal_id=560062015-07-31T18:52:14ZKen Dreyerkdreyer@redhat.com
<ul></ul><p>PR for master: <a class="external" href="https://github.com/ceph/ceph/pull/5445">https://github.com/ceph/ceph/pull/5445</a></p> rgw - Bug #12432: HTTP return code is not being logged by CivetWeb https://tracker.ceph.com/issues/12432?journal_id=560272015-07-31T22:57:02ZKen Dreyerkdreyer@redhat.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Pending Backport</i></li><li><strong>Backport</strong> set to <i>hammer</i></li></ul> rgw - Bug #12432: HTTP return code is not being logged by CivetWeb https://tracker.ceph.com/issues/12432?journal_id=577042015-09-02T21:09:14ZLoïc Dacharyloic@dachary.org
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul>