Commit 122d2de
SVN: pipe handling reordering, read STDOUT first
Due to limitations on the buffering of pipes and therefore possible
resulting deadlocks, the order in which the pipes are read is crucial.
This reordering of the pipes is just a partial workaround. Processing
STDOUT before STDERR will NOT(!) prevent a deadlock if the output to
STDERR exceeds the pipe's max buffered size.
Regardless, as discussed in #261, it is better to handle an unlikely
error scenario, than to frequently get stuck when processing good
commits.
Signed-off-by: Damien Regad <dregad@mantisbt.org>
- Original commit message and comment block reworded
- Updated changelog
- Bump SourceSVN plugin version
Fixes #3331 parent 05852d9 commit 122d2de
2 files changed
+17
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
342 | | - | |
343 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
344 | 350 | | |
345 | 351 | | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
346 | 356 | | |
| 357 | + | |
347 | 358 | | |
348 | 359 | | |
349 | 360 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
0 commit comments