Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
9c2cb2deee130247bffa3a75dadfd86b268f6671
/
.
/
reg-tests
/
lua
/
bad_http_clt_req_duration.lua
blob: 2c2ab1dca8b57fa7cd829bcc164bf3c552886ad5 [
file
] [
log
] [
blame
]
core
.
register_service
(
"foo.http"
,
"http"
,
function
(
applet
)
core
.
msleep
(
10
)
applet
:
start_response
()
end
)
core
.
register_service
(
"foo.tcp"
,
"tcp"
,
function
(
applet
)
applet
:
send
(
"HTTP/1.1 200 OK\r\nTransfer-encoding: chunked\r\n\r\n0\r\n\r\n"
)
end
)