simplifying things like delay pools

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sat, 16 Sep 2000 12:50:18 +0800

Benno's SSL patchset does an interesting thing - it overloads the socket
read() and write() into a per-FD function pointer pair, so SSL connections
don't need evil if (ssl) { } else { } wrapped around them.

I was thinking that this also might be good for delay pools - instead of
having all the delay pool ifdefs floating around read()s you could just
overload read() and then stick the delay pool magic in there.

What do people think ?

Adrian

-- 
Adrian Chadd			"If a butterfly flaps its wings in China,
<adrian@creative.net.au>	    will a women get naked in Amsterdam?"
				      -- Ashley Penney on Chaos Theory
Received on Fri Sep 15 2000 - 22:50:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:37 MST