Skip to content

Conversation

@persiaAziz-zz
Copy link
Contributor

  1. CPP API of
    TSHttpTxnConfigIntSet
    TSHttpTxnConfigIntGet
    TSHttpTxnConfigFloatSet
    TSHttpTxnConfigFloatGet
    TSHttpTxnConfigStringSet
    TSHttpTxnConfigStringGet
    TSHttpTxnConfigFind
  2. Wrapper function for TSPluginRegister , called TSRegisterPlugin
  3. TSRegisterPlugin() included in all the PluginInit implementations of the example CPPAPI Plugins

Copy link
Member

Choose a reason for hiding this comment

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

We can't do this. The pattern we've always followed with the ats c++ api is that it shouldn't require including any C header files. We've typically just duplicated enums so TSOverridableConfigKey should be an enum in Transaction.

Copy link
Member

Choose a reason for hiding this comment

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

Hmmm. Let me think about that a bit. I have an idea on how to deal with this but I need to flesh it out.

SolidWallOfCode pushed a commit to SolidWallOfCode/trafficserver that referenced this pull request May 7, 2016
SolidWallOfCode pushed a commit to SolidWallOfCode/trafficserver that referenced this pull request May 10, 2021
traffic_dump: Make client-request gathered in a global hook (apache#6500)
masaori335 pushed a commit to masaori335/trafficserver that referenced this pull request Sep 24, 2021
* First attempt at implementing stats for SNI limiting.

* Take metric type and dots into account when calculating metric string length.

* Added a metric for resumed connections.

* Add optional metric prefix and tag arguments.

* Free the allocated metric name after use.

* Modified default prefix to begin with plugin instead of proxy.
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.

4 participants