Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15403212
D7798.id17639.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
687 B
Referenced Files
None
Subscribers
None
D7798.id17639.diff
View Options
Index: src/applications/diffusion/protocol/DiffusionSubversionWireProtocol.php
===================================================================
--- src/applications/diffusion/protocol/DiffusionSubversionWireProtocol.php
+++ src/applications/diffusion/protocol/DiffusionSubversionWireProtocol.php
@@ -75,6 +75,10 @@
}
} else if ($this->state == 'bytes') {
$new_data = substr($this->buffer, 0, $this->expectBytes);
+ if (!strlen($new_data)) {
+ // No more bytes available yet, wait for more data.
+ break;
+ }
$this->buffer = substr($this->buffer, strlen($new_data));
$this->expectBytes -= strlen($new_data);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 19, 2:13 AM (5 d, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7706565
Default Alt Text
D7798.id17639.diff (687 B)
Attached To
Mode
D7798: Fix loop in svnserve workflow for large binaries
Attached
Detach File
Event Timeline
Log In to Comment