Commit 14fd0c9
committed
CA-226177: Fix premature termination of cli
When the CLI makes a TLS connection to a remote host as part of a
command, there was code to monitor the stunnel process and exit
early if the stunnel process died. There was a race, therefore,
when a TLS connection terminiated correctly but the command hadn't
finished processing on the control socket, for example, when
uploading a VDI via a CLI on a slave. This commit removes the active
monitoring of stunnel processes.
Signed-off-by: Jon Ludlam <[email protected]>1 parent bbe29f5 commit 14fd0c9
1 file changed
+5
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
| 334 | + | |
347 | 335 | | |
348 | 336 | | |
349 | 337 | | |
| |||
673 | 661 | | |
674 | 662 | | |
675 | 663 | | |
676 | | - | |
677 | | - | |
| 664 | + | |
678 | 665 | | |
679 | 666 | | |
680 | 667 | | |
| |||
683 | 670 | | |
684 | 671 | | |
685 | 672 | | |
686 | | - | |
687 | | - | |
688 | | - | |
| 673 | + | |
689 | 674 | | |
690 | 675 | | |
691 | 676 | | |
| |||
0 commit comments