History log of /trafficserver/src/traffic_server/InkAPI.cc (Results 1 - 25 of 93)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 318728c6 26-Mar-2020 Sudheer Vinukonda

When using TSContSchedule() and TSContScheduleAPI() set the calling thread
as the thread affinity when not already set


# 7ff627fd 26-Mar-2020 Sudheer Vinukonda

Ensure TSContSchedule API family are called from an EThread.

If called from a non-EThread, the Mutex_Lock ends up not acquiring
the lock but still releasing it causing weird behavior muc

Ensure TSContSchedule API family are called from an EThread.

If called from a non-EThread, the Mutex_Lock ends up not acquiring
the lock but still releasing it causing weird behavior much later

show more ...


# 7675d0b8 18-Mar-2020 Sudheer Vinukonda

Add FetchSM support to dechunking in non-streaming mode.
Add new TS API TSFetchFlagSet()


# 678b605a 13-Mar-2020 Leif Hedstrom

Refactor and generalize the User Arg concept, add global (#6468)

* First refactoring, eliminates many of the lookup APIs

* Refactor all User Args, deprecating all old APIs for Get()

Refactor and generalize the User Arg concept, add global (#6468)

* First refactoring, eliminates many of the lookup APIs

* Refactor all User Args, deprecating all old APIs for Get() / Set().

* Adds the global / GLB type of user args

* Adds a plugin for testing the APIs, can maybe be used by autest

* Makes the proper enum name prefixes for the new constants

* Changes the max defines to an array

* Updated Docs with these changes

show more ...


# 5efcddef 05-Mar-2020 Alan M. Carroll

Issue 3546: Add "overridable" to the configuration variable description.


# 974d0f05 04-Mar-2020 Leif Hedstrom

Removes some things deprecated from older versions (#6471)


Revision tags: 7.1.9, 7.1.9-rc1, 8.0.6, 7.1.9-rc0, 8.0.6-rc0
# 2e120202 29-Jan-2020 Evan Zelkowitz

Fixing shadowed variables, both global and local: (#6371)

https://lgtm.com/projects/g/apache/trafficserver/?mode=tree&ruleFocus=2157860312
https://lgtm.com/projects/g/apache/trafficserve

Fixing shadowed variables, both global and local: (#6371)

https://lgtm.com/projects/g/apache/trafficserver/?mode=tree&ruleFocus=2157860312
https://lgtm.com/projects/g/apache/trafficserver/?mode=tree&ruleFocus=2156240606

Addresses issue #6352

show more ...


# 4bdabd53 19-Dec-2019 Walter Karas

Clear all pointers in API Hooks clear function.


# e2642f99 06-Nov-2019 Walter Karas

For per-transaction config override, crossing the const-correctness event horizon.

And falling into the black hole.


# fa6e5731 25-Nov-2019 bneradt

auto delete rolled log file fixes

This fixes auto delete registration for:

- core log files that were not getting deleted (such as error.log and
manager.log) as well as...

auto delete rolled log file fixes

This fixes auto delete registration for:

- core log files that were not getting deleted (such as error.log and
manager.log) as well as...
- plugin log files.

To make log deletion registration more automatic, I placed it in LogObject
initialization so that it doesn't have to happen in as many disparate places.
By doing this, plugin log auto delete comes for free. This is why nothing in
the core plugin implementation needed to be changed to register their log
files, for instance. Not all log objects are managed by LogObject, however, so
we still have some manual calls to registration in LogConfig for core log files
(such as traffic.out and diags.log, for example).

Before this change, LogConfig manipulated deleting_info to create and maintain
candidates. To encapsulate this logic, I created RolledLogDeleter and changed
LogConfig to interact with an instance of that. This simplified the LogConfig
logic while also enabling unit testability of the main log deletion feature.

This also:

- Adds a rolling_max_count autest.
- Fixes a shutdown leak concerning LogDeletingInfo.
- Fixes a paramater mismatch between TextLogObject and LogObject.

show more ...


# 4960789e 29-Oct-2019 David Calavera

Change API to return a TSReturnCode code.

Return a TS_ERROR when we cannot push the url to the promise table.

Signed-off-by: David Calavera <david.calavera@gmail.com>


# 9e91efbb 06-Nov-2019 David Calavera

Reverse debug specific check.

debug_flag && diags->on() is almost an atomic operation,
while is_debug_tag_set requires Diags to run a regular expression.

When debug_flag is set

Reverse debug specific check.

debug_flag && diags->on() is almost an atomic operation,
while is_debug_tag_set requires Diags to run a regular expression.

When debug_flag is set to 1, we always want to print the debug log,
regardless of whether the tag is set or not, which makes the
is_debug_tag_set check useless, and expensive.

This change flips the conditional to check if debug_flag is 1 first,
skipping the tag check if it is.

Signed-off-by: David Calavera <david.calavera@gmail.com>

show more ...


# be2102e4 25-Oct-2019 Susan Hinrichs

Allow txn handler to be set from ssn on same hook


# 52944ce1 16-Sep-2019 Susan Hinrichs

Update TSVConnSslConnectionGet name to match others in the TSVConnSsl* family


# 54b8caf6 20-Sep-2019 Susan Hinrichs

Fix TSHttpTxnReenable to schedule back to original SM thread


# 75725612 27-Sep-2019 Valentin Gutierrez

Cache SSL EC explicitly


# f0d82b7d 05-Sep-2019 Fei Deng

weak mutex macros


Revision tags: 8.0.5, 7.1.8
# b0b591b9 20-Aug-2019 Alan M. Carroll

TSHttpTxnRedoCacheLookup.


# a743ac31 14-Aug-2019 David Calavera

Fix reference to SMDebug.

Signed-off-by: David Calavera <david.calavera@gmail.com>


Revision tags: 8.0.4, 7.1.7, 7.1.7-rc0, 8.0.4-rc0, 8.0.3, 7.1.6, 8.0.2, 8.0.1, 7.1.5, 7.1.5-rc0
# 313ba1d3 05-Nov-2018 Daniel Morilha (netlify)

adding TSHttpTxnRedoCacheLookup


# cd92e255 16-Jul-2019 Valentin Gutierrez

Expose client SSL stats via API & Lua


# de9b3a6f 21-Aug-2019 Aaron Canary

Replaced ProxyTxn::outbound vars with accept::options

Each session gets a reference, each transaction gets a copy so it can be overwritten.
fixed H3
Http09App fix


# 4cfd5a73 15-Aug-2019 Bryan Call

Ran make clang-tidy


# 7e5093ef 15-Aug-2019 Sudheer Vinukonda

Make proxy.config.http.per_server.min_keep_alive_connections overridable

Allows to customize min keep alives for services depending on their qps
For low qps services, when Host based ser

Make proxy.config.http.per_server.min_keep_alive_connections overridable

Allows to customize min keep alives for services depending on their qps
For low qps services, when Host based server session match is configured
a floor on min keep alive, may cause TrafficServer to pick stale connections
even when a server is made inactive.

Add apidefs.h.in

Add the new config to lua configs

Change the min_keep_alive config name to be consistent with related configs

show more ...


# dc09101d 08-Aug-2019 Walter Karas

Make TS_NULL_MLOC a valid C compile-time constant.


1234