Subject: | Migrate method - infinite loop |
Hi,
Fo some reason the server i'm using (iplanet 5.2) decides to return a BYE,
and the migrathe method does not handle it, I blieve you are looking for a '+' instead of a '*', here is the code where I believe the problem to be:
---code---
until ($code eq '+' or $code =~ /NO|BAD|OK/ ) {
...
($code)= $fromBuffer =~ /^(\+)|^(?:\d+\s(?:BAD|NO))/ ;
$code ||=0;
Show quoted text
---end code---
By the way, the same thing happend with "NO QUOTA"
Regards,
Pedro Carvalho
---debug output---
About to issue APPEND command to peer for msg 1
Sending: --something--
Sent 77 bytes
REFERALS: received * BYE timeout surpassed
from server
REFERALS: received * BYE timeout surpassed
from server
REFERALS: received * BYE timeout surpassed
from server
REFERALS: received * BYE timeout surpassed
from server
(and so on, and so on)
----end debug output----