You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Bartosz Tomasik (JIRA)" <se...@james.apache.org> on 2013/03/01 13:49:12 UTC

[jira] [Created] (JAMES-1484) Keep alive "ok hang in there" is never sent on current trunk

Bartosz Tomasik created JAMES-1484:
--------------------------------------

             Summary: Keep alive "ok hang in there" is never sent on current trunk
                 Key: JAMES-1484
                 URL: https://issues.apache.org/jira/browse/JAMES-1484
             Project: James Server
          Issue Type: Bug
          Components: IMAPServer
    Affects Versions: Trunk
            Reporter: Bartosz Tomasik
            Priority: Minor


Step to reproduce:
1. Configure Outlook 2003 to use default timeout for an account (1 min)
2. Try to perform some long running task (eg copying 5,1k emails)

Expected result:
 emails are copied

Current result:
 outlook reports timeout and never completes operation

Info: in the past we were sending keep alive info "ok hang in there", right now it's not sent (at least not within a minute).

Current trunk code (protocols/protocols-imap4/src/main/java/org/apache/james/imapserver/netty/IMAPServer.java): 
                pipeline.addLast("idleHandler", new IdleStateHandler(timer, 0, 0, timeout, TIMEOUT_UNIT));

Suggested fix:
                pipeline.addLast("idleHandler", new IdleStateHandler(timer, 0, 15, timeout, TIMEOUT_UNIT));


or better yet, make this paremeter configurable.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org