Mercurial
comparison third_party/wrk/scripts/pipeline.lua @ 186:8cf4ec5e2191 hg-web
Fixed merge conflict.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 23 Jan 2026 22:38:59 -0800 |
| parents | 94705b5986b3 |
| children |
comparison
equal
deleted
inserted
replaced
| 176:fed99fc04e12 | 186:8cf4ec5e2191 |
|---|---|
| 1 -- example script demonstrating HTTP pipelining | |
| 2 | |
| 3 init = function(args) | |
| 4 local r = {} | |
| 5 r[1] = wrk.format(nil, "/?foo") | |
| 6 r[2] = wrk.format(nil, "/?bar") | |
| 7 r[3] = wrk.format(nil, "/?baz") | |
| 8 | |
| 9 req = table.concat(r) | |
| 10 end | |
| 11 | |
| 12 request = function() | |
| 13 return req | |
| 14 end |