Commit 2c5860d
Ian Driver
Add send_keepalive_packet option to out_forward plugin
This adds the send_keepalive_packet configuration parameter to enable
TCP keepalive (SO_KEEPALIVE) on forward output connections, similar to
the implementation in in_forward (PR #2352).
The existing 'keepalive' parameter only enables connection pooling,
not TCP-level keepalive probes.
Signed-off-by: Ian Driver <idriver@williamhill.us>1 parent 1327bed commit 2c5860d
2 files changed
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
| |||
414 | 416 | | |
415 | 417 | | |
416 | 418 | | |
| 419 | + | |
417 | 420 | | |
418 | 421 | | |
419 | 422 | | |
| |||
423 | 426 | | |
424 | 427 | | |
425 | 428 | | |
| 429 | + | |
426 | 430 | | |
427 | 431 | | |
428 | 432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
156 | 166 | | |
157 | 167 | | |
158 | 168 | | |
| |||
1303 | 1313 | | |
1304 | 1314 | | |
1305 | 1315 | | |
1306 | | - | |
| 1316 | + | |
| 1317 | + | |
1307 | 1318 | | |
1308 | 1319 | | |
1309 | 1320 | | |
| |||
1343 | 1354 | | |
1344 | 1355 | | |
1345 | 1356 | | |
1346 | | - | |
| 1357 | + | |
| 1358 | + | |
1347 | 1359 | | |
1348 | 1360 | | |
1349 | 1361 | | |
| |||
1380 | 1392 | | |
1381 | 1393 | | |
1382 | 1394 | | |
1383 | | - | |
| 1395 | + | |
| 1396 | + | |
1384 | 1397 | | |
1385 | 1398 | | |
1386 | 1399 | | |
| |||
0 commit comments