[antispam-f] Re: Single tasking
- From: Frank de Bruijn <antispam@xxxxxxxxx>
- To: antispam@xxxxxxxxxxxxx
- Date: Sun, 21 Apr 2019 11:03:01 +0200
In article <57a5300992antispam@xxxxxxxxx>,
Frank de Bruijn <antispam@xxxxxxxxx> wrote:
In article <092528a557.DaveMeUK@xxxxxxxxxxxx>,
David Higton <dave@xxxxxxxxxxxxxxxx> wrote:
With the most recent version of AcornSSL, is it inevitable that AS
single-tasks while in the Handshake phase?
It's not single tasking. AcornSSL seems to be blocking (a bit) in spite
of the AcornSSL_Ioctl call used to set it to non blocking.
Looking at the log with the trace flag set (-trace added to the command
line), I see several EINPROGRESS and EWOULDBLOCK entries, so
*technically* the connection *is* non blocking.
During development, I tried increasing the poll idle interval to see if
that made any difference, but that led to handshake errors. I suppose I
could add an option for that, so people could experiment.
Maybe try this zip here: https://aconet.org/antispam/as167r2-ri.zip
It contains just a !RunImage and two Resources files. The only change is
a configurable delay for wimp polls. You set it using a system variable,
Set AntiSpam$PollDelay 50
to set a 50 centisecond delay. It's only effective after the AcornSSL
module returns an ENOTCONN. Setting it this way will have to do for now.
I currently don't have time to mess with the Choices window.
I haven't tried it extensively myself, because I'm rather busy trying to
get GnuPG 1.4.23 to compile. Pity GnuPG for RISC OS seems to have been
abandoned - available versions are either old or ancient and I want
something recent for use with my CAF (Check and Fetch) application...
Other related posts: