Menu

Infinite loop

2005-10-07
2013-04-02
  • Stefano Ottaviani

    In ReadResponse function of SmtpProxy class the LoopTimeout variable is defined and valorized within the do / while loop...but at each iteraction is value is resetted!

    do
                    {
                        int LoopTimeout = 0;

    Shouldn't it be declared and initialized outside the loop? Otherwise, you never get the time-out....

     
    • Mike Bridge

      Mike Bridge - 2005-10-07

      Hi-

      I think I introduced that while copying-and-pasting a change for multiline responses.  However, that code should really be using the timeout setting that's already available (100ms is too short).  I'll look at that this weekend if humanly possible.

      Thanks,

      -Mike

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.