mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-21 03:00:35 +00:00
d7a8f14145
We rename all the VTC files to avoid name collisions when importing/backporting.
9 lines
256 B
Lua
9 lines
256 B
Lua
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)
|