[commits] Imap_Client branch master updated. eb98b856295286c1227dd547e1c8cf6abf1cf6ba

Michael J. Rubinsky mrubinsk at horde.org
Thu Jan 25 03:38:13 UTC 2018


The branch "master" has been updated.
The following is a summary of the commits.

from: 7e155e855ccfb1b3ee6bac7a93c1b7018bc5b696

4f0b030 In some message with the bodyPartSize query the imap server responds
eb98b85 Merge pull request #1 from stefanolaf/master

Summary: https://github.com/horde/Imap_Client/compare/7e155e855ccf...eb98b8562952

-----------------------------------------------------------------------

commit 4f0b03038e57d8b4177a047f02c35243b98a12b8
Author: stefano <stefano at localhost.localdomain>
Date:   Wed, 24 Jan 2018 17:32:29 +0100

In some message with the bodyPartSize query the imap server responds

C: 2 UID FETCH 6 (BINARY.SIZE[0] BINARY.SIZE[2.1.2] BINARY.SIZE[2.1.3] BINARY.SIZE[2.1.3.2] BINARY.SIZE[2.1.3.3] BINARY.SIZE[2.1.3.4] BINARY.SIZE[2.2] BINARY.SIZE[3] BINARY.SIZE[4])
S: * 6 FETCH (UID 6)
S: 6 NO [UNKNOWN-CTE] Unknown Content-Transfer-Encoding.

and if the $pipeline->data['binaryquery'] is not defined th Socket retry same fetch looping until gets an php fatal error

[Wed Jan 24 11:34:54.920998 2018] [:error] [pid 5884] PHP Notice:  Undefined index: binaryquery in /my/path/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php on line 2846
[Wed Jan 24 11:34:54.921460 2018] [:error] [pid 5884] PHP Warning:  Invalid argument supplied for foreach() in /my/path/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php on line 2849
.....
[Wed Jan 24 11:33:45.334736 2018] [:error] [pid 5883] PHP Fatal error:  Allowed memory size of 1610612736 bytes exhausted (tried to allocate 25 bytes) in /my/path/vendor/pear-pear.horde.org/Horde_Imap_Client/Horde/Imap/Client/Socket.php on line 4876

Added a check on $pipeline->data['binaryquery']

 M lib/Horde/Imap/Client/Socket.php

https://github.com/horde/Imap_Client/commit/4f0b03038e57d8b4177a047f02c35243b98a12b8

-----------------------------------------------------------------------

commit eb98b856295286c1227dd547e1c8cf6abf1cf6ba
Author: Michael J Rubinsky <mike at theupstairsroom.com>
Date:   Wed, 24 Jan 2018 22:38:11 -0500

Merge pull request #1 from stefanolaf/master

Unknown Content-Transfer-Encoding problem in fetch

 M lib/Horde/Imap/Client/Socket.php

https://github.com/horde/Imap_Client/commit/eb98b856295286c1227dd547e1c8cf6abf1cf6ba


More information about the commits mailing list