i think this calls for a config option ;)
i'll test it with a 25s timeout and will report back.
thanks, raoul
On 04/30/2010 02:02 PM, Emerson Pinter wrote:
Exactly.
On Fri, 30 Apr 2010 13:50:01 +0200, "Raoul Bhatia [IPAX]" r.bhatia@ipax.at wrote:
On 04/23/2010 03:29 PM, Emerson Pinter wrote:
I use Courier-IMAP too.
Sometimes when I login, my folder list don't load, I have to refresh
the
page ...
do you mean this timeout:
--- program/include/rcube_imap_generic.php (revision 1647) +++ program/include/rcube_imap_generic.php (working copy) @@ -599,7 +599,7 @@ return false; }
stream_set_timeout($this->fp, 10);
stream_set_timeout($this->fp, 25); $line = trim(fgets($this->fp, 8192)); if ($this->prefs['debug_mode'] && $line) {
thanks, raoul
as there is no progress on this issue, i'd like to propose the following attachment.
i know that this is very ugly, but i'd like to receive some feedback from the devs on the timeout-config issue ;)))
thanks, raoul
On 14.05.2010 11:59, Raoul Bhatia [IPAX] wrote:
as there is no progress on this issue, i'd like to propose the following attachment.
i know that this is very ugly, but i'd like to receive some feedback from the devs on the timeout-config issue ;)))
Config option would be ok. but patch needs to be rewritten:
don't want to use globals in rcube_imap_generic class
stream_set_timeout(),
change stream_timeout to imap_timeout.
On 05/14/2010 12:28 PM, A.L.E.C wrote:
On 14.05.2010 11:59, Raoul Bhatia [IPAX] wrote:
as there is no progress on this issue, i'd like to propose the following attachment.
i know that this is very ugly, but i'd like to receive some feedback from the devs on the timeout-config issue ;)))
Config option would be ok. but patch needs to be rewritten:
- you should use $options argument in rcube_imap_generic::connect(), we
don't want to use globals in rcube_imap_generic class
- timeout is also set in fsockopen() a few lines before
stream_set_timeout(),
- as we have already smtp_timeout option (not documented), better to
change stream_timeout to imap_timeout.
thanks,
next try.
cheers, raoul