Noel J. Bergman schrieb:
>> what for problems you noticed ? Can you give an example so we can maybe
>> write a junit test for this first ?
>>     
>
> You can see Stefano's response for an observation about how our current
> pull-model approach works well.  But as we change to a push model
> processing, the loop operation needs to be based upon what's in the buffer,
> where there might be 0..n commands to be processed.
>
> For example, it might be nice if we had the test driver do some tests like:
>
>    send("MAIL FROM: <${sender}>\r\nRCPT TO:
> <$<rcpt}>\r\nDATA\r\n${msg}\r\n.\r\n");
>
> just to make sure that the handler doesn't hang because it only handled one
> command per I/O.  Not that I'd do such a thing, being aware of the issue,
> but ... :-)
>
> You understand?
>
>       --- Noel
>   

Yes now i understand ;-) I will write some tests later or tommorrow ..

bye
Norman


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to