Skip to content

Conversation

@SolidWallOfCode
Copy link
Member

In the case of an intercept plugin the client_response can be leaked. I changed the method used to be destroy to be clearer and changed it to destroy the heap, not just drop the pointers. This has been tested in production and should be isolated as there is only one place this method is invoked.


inline void
HTTPHdr::clear()
HTTPHdr::destroy()
Copy link
Member

Choose a reason for hiding this comment

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

I'm seeing several other usages of HTTPHdr::clear() such as:

Http2UpgradeContext::~Http2UpgradeContext()
HttpTransactCache::calculate_quality_of_match()

And HTTPHdr::unmarshal()

Am I missing something?

@asfgit asfgit closed this in 5abf6ac Apr 19, 2016
PSUdaemon pushed a commit that referenced this pull request May 20, 2016
brbzull0 added a commit to brbzull0/trafficserver that referenced this pull request Oct 6, 2021
…a shared foler (apache#577)

* [JSONRPC] - Move JSONRPC request/response definitions to a shared folder.
- Split base request/response object into base objects and specific ones for traffic_ctl.
- Add documentation.
- Clean up some code in the RPC client code.

* [JSONRPC] - rpc shared client, add invoke function that takes a JSONRPC object.

* [JSONRPC] - fix typo

* [JSONRPC] - rename namespace. Add default template type.

* Fix typo in yaml_codecs.h

Co-authored-by: Damian Meden <damian.meden@gmail.com>
brbzull0 added a commit to brbzull0/trafficserver that referenced this pull request Nov 8, 2021
…a shared foler (apache#577)

* [JSONRPC] - Move JSONRPC request/response definitions to a shared folder.
- Split base request/response object into base objects and specific ones for traffic_ctl.
- Add documentation.
- Clean up some code in the RPC client code.

* [JSONRPC] - rpc shared client, add invoke function that takes a JSONRPC object.

* [JSONRPC] - fix typo

* [JSONRPC] - rename namespace. Add default template type.

* Fix typo in yaml_codecs.h

Co-authored-by: Damian Meden <damian.meden@gmail.com>
brbzull0 added a commit to brbzull0/trafficserver that referenced this pull request Nov 9, 2021
…a shared foler (apache#577)

* [JSONRPC] - Move JSONRPC request/response definitions to a shared folder.
- Split base request/response object into base objects and specific ones for traffic_ctl.
- Add documentation.
- Clean up some code in the RPC client code.

* [JSONRPC] - rpc shared client, add invoke function that takes a JSONRPC object.

* [JSONRPC] - fix typo

* [JSONRPC] - rename namespace. Add default template type.

* Fix typo in yaml_codecs.h

Co-authored-by: Damian Meden <damian.meden@gmail.com>
brbzull0 added a commit to brbzull0/trafficserver that referenced this pull request Nov 9, 2021
…a shared foler (apache#577)

* [JSONRPC] - Move JSONRPC request/response definitions to a shared folder.
- Split base request/response object into base objects and specific ones for traffic_ctl.
- Add documentation.
- Clean up some code in the RPC client code.

* [JSONRPC] - rpc shared client, add invoke function that takes a JSONRPC object.

* [JSONRPC] - fix typo

* [JSONRPC] - rename namespace. Add default template type.

* Fix typo in yaml_codecs.h

Co-authored-by: Damian Meden <damian.meden@gmail.com>
brbzull0 added a commit to brbzull0/trafficserver that referenced this pull request Jan 24, 2022
…a shared foler (apache#577)

* [JSONRPC] - Move JSONRPC request/response definitions to a shared folder.
- Split base request/response object into base objects and specific ones for traffic_ctl.
- Add documentation.
- Clean up some code in the RPC client code.

* [JSONRPC] - rpc shared client, add invoke function that takes a JSONRPC object.

* [JSONRPC] - fix typo

* [JSONRPC] - rename namespace. Add default template type.

* Fix typo in yaml_codecs.h

Co-authored-by: Damian Meden <damian.meden@gmail.com>
ywkaras pushed a commit to ywkaras/trafficserver that referenced this pull request Jul 7, 2022
…a shared foler (apache#577)

* [JSONRPC] - Move JSONRPC request/response definitions to a shared folder.
- Split base request/response object into base objects and specific ones for traffic_ctl.
- Add documentation.
- Clean up some code in the RPC client code.

* [JSONRPC] - rpc shared client, add invoke function that takes a JSONRPC object.

* [JSONRPC] - fix typo

* [JSONRPC] - rename namespace. Add default template type.

* Fix typo in yaml_codecs.h

Co-authored-by: Damian Meden <damian.meden@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants