diff options
Diffstat (limited to 'test')
| -rwxr-xr-x | test/tcp-getoptions | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/tcp-getoptions b/test/tcp-getoptions index f9b3d1b..777ccc3 100755 --- a/test/tcp-getoptions +++ b/test/tcp-getoptions | |||
| @@ -7,7 +7,9 @@ port = 8765 | |||
| 7 | function options(o) | 7 | function options(o) |
| 8 | print("options for", o) | 8 | print("options for", o) |
| 9 | 9 | ||
| 10 | for _, opt in ipairs{"keepalive", "reuseaddr", "tcp-nodelay"} do | 10 | for _, opt in ipairs{ |
| 11 | "keepalive", "reuseaddr", | ||
| 12 | "tcp-nodelay", "tcp-keepidle", "tcp-keepcnt", "tcp-keepintvl"} do | ||
| 11 | print("getoption", opt, o:getoption(opt)) | 13 | print("getoption", opt, o:getoption(opt)) |
| 12 | end | 14 | end |
| 13 | 15 | ||
