Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117877962
D2728.1775339370.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D2728.1775339370.diff
View Options
diff --git a/src/include/rcube_imap_generic.php b/src/include/rcube_imap_generic.php
--- a/src/include/rcube_imap_generic.php
+++ b/src/include/rcube_imap_generic.php
@@ -205,6 +205,7 @@
$buffer = fgets($this->fp, $size);
if ($buffer === false) {
+ $this->debug("Reading from server failed, closing socket.");
$this->closeSocket();
break;
}
@@ -3049,6 +3050,7 @@
for ($offset = 0; $offset < $size; $offset += $chunk_size) {
$chunk = substr($msg_part, $offset, $chunk_size);
if (!$this->putLine($chunk, false)) {
+ $this->setError(self::ERROR_UNKNOWN, "putLine failed on chunk");
return false;
}
}
@@ -3056,6 +3058,7 @@
}
if (!$this->putLine('')) { // \r\n
+ $this->setError(self::ERROR_UNKNOWN, "putLine '' failed");
return false;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 4, 9:49 PM (1 d, 11 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18823051
Default Alt Text
D2728.1775339370.diff (1 KB)
Attached To
Mode
D2728: Set errors if something fails during append
Attached
Detach File
Event Timeline