serrislew commented on code in PR #13475:
URL: https://github.com/apache/trafficserver/pull/13475#discussion_r3715582109
##########
plugins/slice/client.cc:
##########
@@ -94,6 +131,28 @@ handle_client_req(TSCont contp, TSEvent event, Data *const
data)
data->m_req_range = rangebe;
+ if (data->is_purge()) {
+ // The substituted range covers block 0, so walking it would delete the
head
+ if (TS_HTTP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE ==
data->m_statustype) {
+ ERROR_LOG("Refusing PURGE with an unparseable range");
Review Comment:
Same comment here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]