Indy 10 Pop3Server. Bad sequence of commands

Giganews Newsgroups
Subject: Indy 10 Pop3Server. Bad sequence of commands
Posted by:  Pedro (pizquierdo20…@hotmail.com)
Date: Tue, 26 Jul 2005

Hello,

This problem already I reported it but I have detected that when it happens
the thread identify is different.
I need help, please

I'm working with Indy 10 and Delphi6.

I have programmed a server and my problem is with a impatient client POP3,
and can be seen in following log of server.

This happens sometimes.

My commentaries are preceded by //

Log of intercept
----------------

IDThread      IP                  Port      DateTime
Command
==================================================
0000001720 62.97.74.162:34386    26/07/2005 01:01:36:034 Recv : TOP 36
0<EOL><EOL>
// the id thread of this connection is 0000001720

0000001720 62.97.74.162:34386    26/07/2005 01:01:36:050 Sent :
+OK<EOL><EOL>
// More lines  .......................................
0000001720 62.97.74.162:34386    26/07/2005 01:01:36:081 Sent : .<EOL><EOL>

*************************************************************************
//This line is in context of another thread but the connection is same. ¿?
0000002388 62.97.74.162:34386    26/07/2005 01:01:36:269 Recv : RETR
36<EOL><EOL>
*************************************************************************

//Pass 1 minute without responding the server because the event is not
called, and the impatient client send a new command.
0000001720 62.97.74.162:34386    26/07/2005 01:02:36:253 Recv : TOP 37
0<EOL><EOL>
0000001720 62.97.74.162:34386    26/07/2005 01:02:36:284 Sent : +OK 4850
octets<EOL><EOL>

Log my application:
-------------------

IDThread      IP                  Port      DateTime
Command
==================================================
0000001720 62.97.74.162:34386    26/07/2005 01:01:36:050  <-- Request TOP 36
0
// the Id Thread id is correct ¿?

************************************************************************
// this event is called with a -+ one minute of delay.
0000001720 62.97.74.162:34386    26/07/2005 01:02:36:269  <-- Request RETR
36
************************************************************************

Please, How I can solve this?
Can I detect this state and disconect the client?

Please. Any suggestions would be really appreciated

Pedro.

Replies