#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
msgid ""
msgstr ""
"Project-Id-Version: Apache Traffic Server 4.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-01-15 22:31+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../../reference/plugins/ts_lua.en.rst:4
msgid "ts-lua Plugin"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:24
msgid "Embed the Power of Lua into TrafficServer."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:27
msgid "Status"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:29
msgid "This module is being tested under our production environment."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:32
msgid "Version"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:34
msgid "ts-lua has not been released yet."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:37
msgid "Synopsis"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:39
msgid "**test_hdr.lua**"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:65
msgid "**test_transform.lua**"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:103
msgid "**test_cache_lookup.lua**"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:136
msgid "**test_ret_403.lua**"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:163
msgid "**sethost.lua**"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:192
msgid "**test_intercept.lua**"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:220
msgid "**test_server_intercept.lua**"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:247
msgid "Description"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:249
msgid ""
"This module embeds Lua, via the standard Lua 5.1 interpreter, into Apache "
"Traffic Server. This module acts as remap plugin of Traffic Server, so we "
"should realize **'do_remap'** function in each lua script. We can write "
"this in remap.config:::"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:253
msgid ""
"Sometimes we want to receive parameters and process them in the script, we "
"should realize **'\\__init__'** function in the lua script(sethost.lua is a "
"reference), and we can write this in remap.config:::"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:260
msgid "TS API for Lua"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:263
msgid "Introduction"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:265
msgid ""
"The API is exposed to Lua in the form of one standard packages ts. This "
"package is in the default global scope and is always available within lua "
"script."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:270
msgid "ts.now"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:271
msgid "**syntax**: *val = ts.now()*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:273
#: ../../reference/plugins/ts_lua.en.rst:289
#: ../../reference/plugins/ts_lua.en.rst:393
msgid "**context**: global"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:275
msgid ""
"**description**: This function returns the time since the Epoch (00:00:00 "
"UTC, January 1, 1970), measured in seconds."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:277
#: ../../reference/plugins/ts_lua.en.rst:293
#: ../../reference/plugins/ts_lua.en.rst:314
#: ../../reference/plugins/ts_lua.en.rst:346
#: ../../reference/plugins/ts_lua.en.rst:369
#: ../../reference/plugins/ts_lua.en.rst:409
#: ../../reference/plugins/ts_lua.en.rst:425
#: ../../reference/plugins/ts_lua.en.rst:453
#: ../../reference/plugins/ts_lua.en.rst:481
#: ../../reference/plugins/ts_lua.en.rst:567
msgid "Here is an example:::"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:286
msgid "ts.debug"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:287
msgid "**syntax**: *ts.debug(MESSAGE)*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:291
msgid "**description**: Log the MESSAGE to traffic.out if debug is enabled."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:300
msgid "The debug tag is ts_lua and we should write this in records.config:::"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:306
msgid "ts.hook"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:307
msgid "**syntax**: *ts.hook(HOOK_POINT, FUNCTION)*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:309
#: ../../reference/plugins/ts_lua.en.rst:326
#: ../../reference/plugins/ts_lua.en.rst:342
#: ../../reference/plugins/ts_lua.en.rst:421
#: ../../reference/plugins/ts_lua.en.rst:449
#: ../../reference/plugins/ts_lua.en.rst:477
#: ../../reference/plugins/ts_lua.en.rst:495
#: ../../reference/plugins/ts_lua.en.rst:514
#: ../../reference/plugins/ts_lua.en.rst:523
#: ../../reference/plugins/ts_lua.en.rst:541
#: ../../reference/plugins/ts_lua.en.rst:563
msgid "**context**: do_remap or later"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:311
msgid ""
"**description**: Hooks are points in http transaction processing where we "
"can step in and do some work. FUNCTION will be called when the http "
"transaction steps in to HOOK_POINT."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:325
msgid "Hook point constants"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:328
msgid ""
"TS_LUA_HOOK_CACHE_LOOKUP_COMPLETE TS_LUA_HOOK_SEND_REQUEST_HDR "
"TS_LUA_HOOK_READ_RESPONSE_HDR TS_LUA_HOOK_SEND_RESPONSE_HDR "
"TS_LUA_REQUEST_TRANSFORM TS_LUA_RESPONSE_TRANSFORM"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:335
msgid "These constants are usually used in ts.hook method call."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:339
msgid "ts.ctx"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:340
msgid "**syntax**: *ts.ctx[KEY]*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:344
msgid ""
"**description**: This table can be used to store per-request Lua context "
"data and has a life time identical to the current request."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:362
msgid "ts.http.get_cache_lookup_status"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:363
msgid "**syntax**: *ts.http.get_cache_lookup_status()*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:365
msgid "**context**: function @ TS_LUA_HOOK_CACHE_LOOKUP_COMPLETE hook point"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:367
msgid "**description**: This function can be used to get cache lookup status."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:392
msgid "Http cache lookup status constants"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:395
msgid ""
"TS_LUA_CACHE_LOOKUP_MISS (0) TS_LUA_CACHE_LOOKUP_HIT_STALE (1) "
"TS_LUA_CACHE_LOOKUP_HIT_FRESH (2) TS_LUA_CACHE_LOOKUP_SKIPPED (3)"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:402
msgid "ts.http.set_cache_url"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:403
msgid "**syntax**: *ts.http.set_cache_url(KEY_URL)*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:405
#: ../../reference/plugins/ts_lua.en.rst:505
#: ../../reference/plugins/ts_lua.en.rst:532
#: ../../reference/plugins/ts_lua.en.rst:550
msgid "**context**: do_remap"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:407
msgid ""
"**description**: This function can be used to modify the cache key for the "
"request."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:418
msgid "ts.http.resp_cache_transformed"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:419
msgid "**syntax**: *ts.http.resp_cache_transformed(BOOL)*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:423
msgid ""
"**description**: This function can be used to tell trafficserver whether to "
"cache the transformed data."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:442
#: ../../reference/plugins/ts_lua.en.rst:470
msgid ""
"This function is usually called after we hook TS_LUA_RESPONSE_TRANSFORM."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:446
msgid "ts.http.resp_cache_untransformed"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:447
msgid "**syntax**: *ts.http.resp_cache_untransformed(BOOL)*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:451
msgid ""
"**description**: This function can be used to tell trafficserver whether to "
"cache the untransformed data."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:474
msgid "ts.client_request.client_addr.get_addr"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:475
msgid "**syntax**: *ts.client_request.client_addr.get_addr()*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:479
msgid ""
"**description**: This function can be used to get socket address of the "
"client."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:488
msgid ""
"The ts.client_request.client_addr.get_addr function returns three values, "
"ip is a string, port and family is number."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:492
msgid "ts.client_request.get_method"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:493
msgid "**syntax**: *ts.client_request.get_method()*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:497
msgid ""
"**description**: This function can be used to retrieve the current "
"request's request method name. String like \"GET\" or \"POST\" is returned."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:502
msgid "ts.client_request.set_method"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:503
msgid "**syntax**: *ts.client_request.set_method(METHOD_NAME)*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:507
msgid ""
"**description**: This function can be used to override the current "
"request's request method with METHOD_NAME."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:511
msgid "ts.client_request.get_url"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:512
msgid "**syntax**: *ts.client_request.get_url()*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:516
msgid ""
"**description**: This function can be used to retrieve the whole request's "
"url."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:520
msgid "ts.client_request.get_uri"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:521
msgid "**syntax**: *ts.client_request.get_uri()*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:525
msgid ""
"**description**: This function can be used to retrieve the request's path."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:529
msgid "ts.client_request.set_uri"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:530
msgid "**syntax**: *ts.client_request.set_uri(PATH)*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:534
msgid ""
"**description**: This function can be used to override the request's path."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:538
msgid "ts.client_request.get_uri_args"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:539
msgid "**syntax**: *ts.client_request.get_uri_args()*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:543
msgid ""
"**description**: This function can be used to retrieve the request's query "
"string."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:547
msgid "ts.client_request.set_uri_args"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:548
msgid "**syntax**: *ts.client_request.set_uri_args(QUERY_STRING)*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:552
msgid ""
"**description**: This function can be used to override the request's query "
"string."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:556
msgid "ts.client_request.header.HEADER"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:557
msgid "**syntax**: *ts.client_request.header.HEADER = VALUE*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:559
msgid "**syntax**: *ts.client_request.header[HEADER] = VALUE*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:561
msgid "**syntax**: *VALUE = ts.client_request.header.HEADER*"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:565
msgid ""
"**description**: Set, add to, clear or get the current request's HEADER."
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:576
msgid "TODO"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:579
msgid "Short Term"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:580
msgid "document configuration"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:581
msgid "non-blocking I/O operation"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:582
msgid "ts.fetch"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:585
msgid "Long Term"
msgstr ""

#: ../../reference/plugins/ts_lua.en.rst:586
msgid "ts.regex"
msgstr ""
