Fixed some bugs I introduced by switching WvTCPListener to the newattic/branches/uniservice
commitefdad086e2b200b873650088d2dac9de520c6a9f
authorapenwarr <apenwarr@6619c942-59fa-0310-bf43-a07aaa81d9ac>
Thu, 16 Aug 2007 20:33:13 +0000 (16 20:33 +0000)
committerapenwarr <apenwarr@6619c942-59fa-0310-bf43-a07aaa81d9ac>
Thu, 16 Aug 2007 20:33:13 +0000 (16 20:33 +0000)
treecd0d46f2272ffd924788cd8a39801d4c6bc5dfd4
parent6e619f59c515a79d69700e58eea20a505fc368fa
Fixed some bugs I introduced by switching WvTCPListener to the new
WvListener stuff.  Part of it was my attempt to fake
WvListener::setcallback() (to be like WvStream's callback) but there's no
good way to do that, since WvStreamCallback passes a WvStream&, and
WvListener is just an IWvStream, not a WvStream.  So I took it out and
converted all the tests to use IWvListenerCallback instead, which
universally made their code shorter and simpler.  So while incompatible,
it's at least obviously better.

The WvDBus unit tests are now completely non-blocking and non-forking!

git-svn-id: file:///home/apenwarr/alumnit-svn/public/branches/uniservice@11724 6619c942-59fa-0310-bf43-a07aaa81d9ac
19 files changed:
crypto/t/wvsslstream.t.cc
crypto/tests/sslsrvtest.cc
dbus/t/wvdbusserver.t.cc
dbus/wvdbusconn.cc
dbus/wvdbusserver.cc
include/iwvlistener.h
include/uniconfdaemon.h
include/wvdbusserver.h
include/wvlistener.h
include/wvstreamsdebuggerserver.h
include/wvtcp.h
ipstreams/t/wvlistener.t.cc
ipstreams/wvlistener.cc
ipstreams/wvstreamsdebuggerserver.cc
ipstreams/wvtcp.cc
streams/tests/streamdaemontest.cc
suppressions.wv
uniconf/daemon/uniconfdaemon.cc
urlget/t/wvhttppool.t.cc