Skip to content

Conversation

@shukitchan
Copy link
Contributor

The lua plugin kept the TSMBuffer and TSMLoc for client request, server request, server response, client response and cached response in the http context object for reuse. But these are volatile across hook handler functions. So they needs to be cleared afterwards.

This fixes #8351

@shukitchan shukitchan requested a review from bryancall as a code owner January 15, 2022 16:27
@shukitchan shukitchan self-assigned this Jan 15, 2022
@shukitchan shukitchan added this to the 10.0.0 milestone Jan 15, 2022
@traeak traeak self-requested a review January 19, 2022 15:39
@bryancall
Copy link
Contributor

@SolidWallOfCode is going to review

@shukitchan shukitchan merged commit 4e8d9dc into apache:master Jan 27, 2022
zwoop pushed a commit that referenced this pull request Jul 13, 2022
@zwoop
Copy link
Contributor

zwoop commented Jul 13, 2022

Cherry-picked to v9.2.x

@zwoop zwoop modified the milestones: 10.0.0, 9.2.0 Jul 13, 2022
masaori335 pushed a commit to masaori335/trafficserver that referenced this pull request Feb 21, 2023
masaori335 pushed a commit to masaori335/trafficserver that referenced this pull request Feb 21, 2023
* asf/9.2.x: (22 commits)
  Updated ChangeLog
  Add 5xx's to be allowed to be used for simple retries (apache#8518)
  Extend milestone api time tracking to remap. (apache#8520)
  Destroy ssl context after use. (apache#8531)
  Proxy Verifier: Update to version 2.4.1 (apache#8965)
  Fixes issue with file size calculation for existing logs (apache#8971)
  Fix reverting PR#7302 (apache#8975)
  add a metric to track how often the range seek bug is detected (apache#8970)
  Updated ChangeLog
  Revert "File change monitoring on s3_auth (apache#8905)"
  .fit/fmt/.clang-format-installed prerequisite (apache#8950)
  Make the autopep8 clang-format targets quieter (apache#8944)
  Add option to disable JIT in lua plugin (apache#8618)
  Fix doc formatting for plugin remap_stats (apache#8942)
  Fix doc formatting for rate_limit plugin (apache#8943)
  Clear lua plugin http context after each hook handler (apache#8607)
  LGTM: Remove function declaration in block (HdrHeap.cc) (apache#8588)
  ESI processing when origin returns 304 response (apache#8563)
  call je_dallocx with flags when needed (apache#8547)
  Updated ChangeLog
  ...

 Conflicts:
	CHANGELOG-9.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using prewarmed cache of escalate host leading to server restart

4 participants