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
noticed.

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 is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: [EMAIL PROTECTED]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250
or email: [EMAIL PROTECTED]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

Reply via email to