Project

General

Profile

Actions

Backport #15283

closed

hammer: RGW shouldn't send Content-Type nor Content-Length for 304 responses

Added by Nathan Cutler about 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Release:
hammer
Pull request ID:
Crash signature (v1):
Crash signature (v2):


Related issues 2 (0 open2 closed)

Related to rgw - Backport #16382: hammer: comparing return code to ERR_NOT_MODIFIED in rgw_rest_s3.cc (needs minus sign)ResolvedWei-Chung ChengActions
Copied from rgw - Bug #14005: RGW shouldn't send Content-Type nor Content-Length for 304 responsesResolvedDaniel Gryniewicz12/07/2015

Actions
Actions #1

Updated by Nathan Cutler about 8 years ago

  • Copied from Bug #14005: RGW shouldn't send Content-Type nor Content-Length for 304 responses added
Actions #2

Updated by Wei-Chung Cheng about 8 years ago

  • Assignee set to Wei-Chung Cheng
Actions #3

Updated by Wei-Chung Cheng about 8 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
Actions #4

Updated by Sylvain Munaut about 8 years ago

The current pull request for backport :

https://github.com/ceph/ceph/pull/8379/commits/e53751d0e52f6fb611d9bd81fe2115cd7ce533b3

Is definitely not good. err will be equal to -ERR_NOT_MODIFIED (note the minus sign).

Not sure if the same comment applies to the original (non-backport) patch. I only use hammer ATM.

Actions #5

Updated by Orit Wasserman almost 8 years ago

it is also wrong in master, do you want to send a fix?

Actions #6

Updated by Nathan Cutler almost 8 years ago

Orit Wasserman wrote:

it is also wrong in master, do you want to send a fix?

Opened #16327 for this bug, master PR is https://github.com/ceph/ceph/pull/9725

Wei-Chung Cheng, when the master PR is merged, could you cherry-pick fc38346 into this backport PR?

Actions #7

Updated by Nathan Cutler almost 8 years ago

  • Related to Bug #16327: comparing return code to ERR_NOT_MODIFIED in rgw_rest_s3.cc (needs minus sign) added
Actions #9

Updated by Nathan Cutler almost 8 years ago

  • Related to deleted (Bug #16327: comparing return code to ERR_NOT_MODIFIED in rgw_rest_s3.cc (needs minus sign))
Actions #10

Updated by Nathan Cutler almost 8 years ago

  • Related to Backport #16382: hammer: comparing return code to ERR_NOT_MODIFIED in rgw_rest_s3.cc (needs minus sign) added
Actions #11

Updated by Nathan Cutler over 7 years ago

  • Status changed from In Progress to Resolved
  • Target version set to v0.94.8
Actions

Also available in: Atom PDF