[ 
https://issues.apache.org/jira/browse/TS-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14385008#comment-14385008
 ] 

portl4t commented on TS-1611:
-----------------------------

1. Well, I think it is ok to use TSError instead of ee, although I prefer to 
record error message in traffic.out with ee.

2. There is no backward incompatibility, old scripts also work.

3. ts.fetch is definitely non-block, it will invoke lua_yield to release cpu 
after launching the FetchSM, and will excute the next lua line with lua_resume 
after FetchSM finished. ts.sleep uses the same mechanism.

4. Streaming mode is hard to display in the script, I am working on 
ts.cache_read these days, which has the same problem. I think we can implement 
streaming mode with an option if it is necessary.

> async http request in lua remap plugin
> --------------------------------------
>
>                 Key: TS-1611
>                 URL: https://issues.apache.org/jira/browse/TS-1611
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Lua, Plugins
>            Reporter: Luca Rea
>            Assignee: Kit Chan
>             Fix For: sometime
>
>         Attachments: 
> 0001-TS-1611-async-http-request-in-lua-remap-plugin.patch, 
> 0002-TS-1611-add-ts_lua_constant.c.patch, 
> 0003-TS-1611-refine-doc-for-ts_lua.patch
>
>
> Hi,
> can you add support for async http requests in lua remap plugin please?
> Thank you



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to