Commit c8b647a
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 c8b647a
2 files changed
Lines changed: 35 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 | | |
| |||
270 | 272 | | |
271 | 273 | | |
272 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
273 | 279 | | |
274 | 280 | | |
275 | 281 | | |
| |||
414 | 420 | | |
415 | 421 | | |
416 | 422 | | |
| 423 | + | |
417 | 424 | | |
418 | 425 | | |
419 | 426 | | |
| |||
423 | 430 | | |
424 | 431 | | |
425 | 432 | | |
| 433 | + | |
426 | 434 | | |
427 | 435 | | |
428 | 436 | | |
| |||
| 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 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
156 | 177 | | |
157 | 178 | | |
158 | 179 | | |
| |||
1303 | 1324 | | |
1304 | 1325 | | |
1305 | 1326 | | |
1306 | | - | |
| 1327 | + | |
| 1328 | + | |
1307 | 1329 | | |
1308 | 1330 | | |
1309 | 1331 | | |
| |||
1343 | 1365 | | |
1344 | 1366 | | |
1345 | 1367 | | |
1346 | | - | |
| 1368 | + | |
| 1369 | + | |
1347 | 1370 | | |
1348 | 1371 | | |
1349 | 1372 | | |
| |||
1380 | 1403 | | |
1381 | 1404 | | |
1382 | 1405 | | |
1383 | | - | |
| 1406 | + | |
| 1407 | + | |
1384 | 1408 | | |
1385 | 1409 | | |
1386 | 1410 | | |
| |||
0 commit comments