Just so I make sure I understand, I just need to do something like: while ((err = ERR_get_error()));
When I switch work and everything will be ok? On Thu, Aug 14, 2014 at 4:44 PM, David Hinkle <hin...@cipafilter.com> wrote: > This is where I would have expected to find it: > https://www.openssl.org/docs/crypto/threads.html > > I would write the patch but I think someone more experienced with the > library should lay out exactly what the semantics need be. > > > On Thu, Aug 14, 2014 at 4:33 PM, Salz, Rich <rs...@akamai.com> wrote: > >> Ø I don't know whether it's documented anywhere, but I'd say yes, it's >> probably good to drain the error queue each time a thread picks up a new >> piece of work. This hadn't occurred to me before your note - I'll have to >> investigate whether any of my code needs to do this as well. >> >> >> >> Yes, suboptimal and you have to do this. A patch to update the doc >> (where should we put it?) would be appreciated. >> >> >> >> -- >> >> Principal Security Engineer >> >> Akamai Technologies, Cambridge MA >> >> IM: rs...@jabber.me Twitter: RichSalz >> >> >> > > > > -- > *David Hinkle* > > *Senior Software Developer* > > *Phone:* 800.243.3729x3000 > > *Email:* hin...@cipafilter.com > > *Hours:* Mon-Fri 8:00AM-5:00PM (CT) > -- *David Hinkle* *Senior Software Developer* *Phone:* 800.243.3729x3000 *Email:* hin...@cipafilter.com *Hours:* Mon-Fri 8:00AM-5:00PM (CT)