You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Kit Chan (JIRA)" <ji...@apache.org> on 2014/12/05 19:13:13 UTC
[jira] [Assigned] (TS-3225) Add more API support to ts_lua plugin
[ https://issues.apache.org/jira/browse/TS-3225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kit Chan reassigned TS-3225:
----------------------------
Assignee: Kit Chan
> Add more API support to ts_lua plugin
> -------------------------------------
>
> Key: TS-3225
> URL: https://issues.apache.org/jira/browse/TS-3225
> Project: Traffic Server
> Issue Type: Improvement
> Components: Lua, Plugins
> Reporter: Kit Chan
> Assignee: Kit Chan
>
> I would like to add support for the following APIs in ts_lua plugin as well as updating the documentation
> timeout related APIs -
> tsapi void TSHttpTxnActiveTimeoutSet(TSHttpTxn txnp, int timeout);
> tsapi void TSHttpTxnConnectTimeoutSet(TSHttpTxn txnp, int timeout);
> tsapi void TSHttpTxnDNSTimeoutSet(TSHttpTxn txnp, int timeout);
> tsapi void TSHttpTxnNoActivityTimeoutSet(TSHttpTxn txnp, int timeout);
> base64 encoding/decoding APIs -
> tsapi TSReturnCode TSBase64Decode(const char *str, size_t str_len, unsigned char *dst, size_t dst_size, size_t *length);
> tsapi TSReturnCode TSBase64Encode(const char *str, size_t str_len, char *dst, size_t dst_size, size_t *length);
> Percent encoding/decoding APIs
> tsapi TSReturnCode TSStringPercentEncode(const char *str, int str_len, char *dst, size_t dst_size, size_t *length, const unsigned char *map);
> tsapi TSReturnCode TSStringPercentDecode(const char *str, size_t str_len, char *dst, size_t dst_size, size_t *length);
> mark/tos APIs
> tsapi TSReturnCode TSHttpTxnClientPacketMarkSet(TSHttpTxn txnp, int mark);
> tsapi TSReturnCode TSHttpTxnServerPacketMarkSet(TSHttpTxn txnp, int mark);
> tsapi TSReturnCode TSHttpTxnClientPacketTosSet(TSHttpTxn txnp, int tos);
> tsapi TSReturnCode TSHttpTxnServerPacketTosSet(TSHttpTxn txnp, int tos);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)