Skip to content

Conversation

@serrislew
Copy link
Contributor

@serrislew serrislew commented Dec 9, 2022

Added config in slice plugin to remove Range header from HEAD requests. When enabled, HEAD requests going through slice will always return full object content length

  • @pparam=--strip-range-for-head
  • Docs updated and autest added

@traeak traeak self-requested a review December 12, 2022 03:58
traeak
traeak previously approved these changes Dec 12, 2022
Copy link
Contributor

@traeak traeak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests run fine, looks okay.

@serrislew
Copy link
Contributor Author

[approve ci autest]

Copy link
Contributor

@bneradt bneradt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I just have a few minor test suggestions.

Copy link
Contributor

@bneradt bneradt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@serrislew serrislew requested a review from bryancall January 5, 2023 19:13
@serrislew serrislew merged commit b5c45a3 into apache:master Jan 12, 2023
@zwoop zwoop added this to the 10.0.0 milestone Jan 17, 2023
@zwoop
Copy link
Contributor

zwoop commented Jan 23, 2023

I'm going to defer this to 10.0.0, since it's a feature change and I really don't want to make a 9.3.0 release but rather focus on 10.0.0.

@ezelkow1
Copy link
Member

id be +1 on this for 9.2.1, it's an experimental plugin so not a large change to core code and its pretty isolated in the change as well

zwoop pushed a commit that referenced this pull request Jan 25, 2023
* Add slice plugin config to strip Range header for HEAD requests

* Remove trailing whitespaces

* Add Head to config name for clarity

* Add verification directives to autest replay

Co-authored-by: Serris Lew <lserris@apple.com>
(cherry picked from commit b5c45a3)
@zwoop
Copy link
Contributor

zwoop commented Jan 25, 2023

Cherry-picked to v9.2.x

@zwoop zwoop modified the milestones: 10.0.0, 9.2.1 Jan 25, 2023
masaori335 pushed a commit to masaori335/trafficserver that referenced this pull request Feb 21, 2023
* asf/9.2.x:
  Updated ChangeLog
  Add slice config to strip Range header for HEAD requests (apache#9238)
  s3_auth: Schedule reloading config event on TASK thread (apache#9328)
  Don't send response body on status 204 No Content (apache#9330)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants