stable
Clone or download
Read-only
request #13393: Git over HTTP request can leave a zombie process if the request timeout
To demonstrate the issue of not closing the resource opened with \proc_open(), you can execute the following code snippet with PHP FPM and observe the resulting process on the system: <?php declare(strict_types=1); $r = proc_open( 'sleep 2', [ 0 => ['pipe', 'r'], 1 => ['pipe', 'w'] ], $pipes ); Change-Id: Ifadd58f7742588b7b39f442acffa01126f4a7550
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/include/Git/HTTP/Wrapper.class.php | +22 | −4 | Go to diff View file |
M | plugins/git/include/GitPHP/git/Blob.php | +1 | −52 | Go to diff View file |
M | plugins/git/include/GitViews/GitPhpViewer.class.php | +0 | −1 | Go to diff View file |