Skip to content

Limited fix on svn proc_open pipe handling#333

Closed
obmsch wants to merge 1 commit intomantisbt-plugins:masterfrom
obmsch:fix-svn-proc-open-pipe-handling
Closed

Limited fix on svn proc_open pipe handling#333
obmsch wants to merge 1 commit intomantisbt-plugins:masterfrom
obmsch:fix-svn-proc-open-pipe-handling

Conversation

@obmsch
Copy link
Copy Markdown
Contributor

@obmsch obmsch commented Jan 29, 2020

This is is just a reordering on the pipes and the rational about it.

Due to limitations on the buffering of pipes and therefore possible
resulting deadlocks, the order the pipes are read is crucial.
The reordering (STDOUT before STDERR) will not(!) prevent a deadlock, if the
output of the process to STDERR exceeds the max buffered size on STDERR.

Better handle the unlikely error, than get stuck on the goods.

@dregad dregad changed the title Limited fix on svn poc_open pipe handling Limited fix on svn proc_open pipe handling Feb 6, 2020
@dregad dregad added this to the 2.4.0 milestone Feb 6, 2020
@dregad dregad closed this in 122d2de Feb 6, 2020
@obmsch obmsch deleted the fix-svn-proc-open-pipe-handling branch February 6, 2020 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants