Yeah basically, that's what I'm thinking.

This function also bottlenecks any ability to pipeline functions and to
reenter the function from multiple threads. In the long term we need a
rewrite. In the short term, I bet just some locking around the variable
would do the trick to alert us to situations where we're parsing a new
imap command before we're totally cleaned up from the previous command.

Aaron

humm the init_args variable is local, that means it doesn't do much? E.g. it means it will memset an active the_args global pointer ? and since that pointer is global it would step on things right? Why don't we just make it allocate the_args in that function and the free it later. any reason for the global?

-leif

-leif
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to