Hi Vadim,

>From time to time, M locks when trying to verify the PGP signature of
a message. I traced it down to this part of the code, in
PGPEngine::ExecCommand:

   if ( !messageIn.empty() )
   {
      in->Write(messageIn.c_str(), messageIn.length());
      process.CloseOutput();
   }

When I had a lock, it was always because, although a gpg process does
exist, the in->Write call never returns. If this matters, the message
that I verify is 10 or 11 kB, with messageIn.length() == 8849.

-- 
Xavier Nodet
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." - Benjamin Franklin, 1759.






-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to