On Tue, 25 Sep 2001, Jay 'Eraserhead' Felice wrote:
> >
> > Err... what I actually COULD do, instead of select()ing for both read
> > and write in terminal_waitevent, I could just not return from get_byte
> > until SSL_read returns SSL_ERROR_WANT_READ.   It might make the ssl
> > module a bit "greedy" when a re-negotiation is requested...  but it
> > would make it possible to keep all the ssl-specific code in the sslstream
> > module.
> >
> > I think I'll do it that way.  (I wish I had thought of that earlier)
> I wouldn't go through all that trouble to avoid hacking the terminal for a
> write FD.  We might not get away so easy when/if Linux-SNA and SNA-Over-IP are
> implemented.

No, it's not "all that trouble."  It'll be much easier this way, and it
seems really unlikely that the performance difference will ever be

Plus, we won't be able to do "write fd" with gtk5250terminal  (since it
doesnt appear to call select() at all) but doing the way that I outlined
above, it should work out of the box...

As for Linux-SNA & friends, we can burn that bridge when we come to it :)

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].