Page MenuHomePhorge

D2728.1775339370.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D2728.1775339370.diff

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

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)

Event Timeline