History log of /trafficserver/src/traffic_server/InkAPI.cc (Results 1 - 25 of 102)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 85d50c2d 12-Jun-2020 Xin Li <33378623+whutwhu@users.noreply.github.com>

change overridable var type for proxy.config.http.server_session_sharing.match from int to string (#6822)

Co-authored-by: xinli1 <xinli1@linkedin.com>


# b13e3487 15-May-2020 yangjian

We should remove whitespace from fieldname in http response due to RFC7230:3.2.4(#6793)


Revision tags: 8.0.7, 7.1.10
# 6dd31ebe 01-Apr-2020 Brian Olsen

Slice plugin: recover out of sync slices, better handling of non 206s

The very first slice is used as the reference slice to make recovery easiest.
Recover asset where slices differ in

Slice plugin: recover out of sync slices, better handling of non 206s

The very first slice is used as the reference slice to make recovery easiest.
Recover asset where slices differ in content-length, etag, last-modified.
autests included to cover basic functionality.

Includes additions to include/ts/experimental.h:

tsapi time_t TSMimeParseDate(char const *const value_str, int const value_len);
tsapi TSReturnCode TSMimeFormatDate(time_t const value_time, char *const value_str, int *const value_len);

These are derived from TSMimeHdrFieldValueDateSet/TSMimeHdrFieldValueDateGet.

show more ...


# f0f54e97 11-May-2020 Damian Meden

ip_resolve - Make config variable overridable


# 45750581 01-May-2020 Emanuele Rocca

Add HttpTransact::get_max_age and TSHttpTxnGetMaxAge

Add a new function called HttpTransact::get_max_age based on the logic
in HttpTransact::calculate_document_freshness_limit that extra

Add HttpTransact::get_max_age and TSHttpTxnGetMaxAge

Add a new function called HttpTransact::get_max_age based on the logic
in HttpTransact::calculate_document_freshness_limit that extracts
max_age depending on s-maxage and max-age. Expose the function as
TSHttpTxnGetMaxAge.

show more ...


# cefe4826 31-Mar-2020 Fei Deng

remove TSContSchedule, then rename TSContScheduleOnPool to TSContSchedule


# 0b31904a 14-Apr-2020 Sudheer Vinukonda

Update TSStatFindName to check that sync callback is set on the stat


# 6ca86f01 10-Apr-2020 Susan Hinrichs

Add more options to session_sharing.match (#6566)

Co-authored-by: Susan Hinrichs <shinrich@verizonmedia.com>


# 3b246a9a 01-Apr-2020 Sudheer Vinukonda

Return TSFetchSM from TSFetchUrl so TSFetchFlagSet can set fetch flags

This is a miss in the commit 7675d0b8082247de35146cedbce6875cb2d39f03


# 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


12345