joewalnes/webbit — pull request #46 by chtheis (2011-11-01 21:08:45+00:00)
Title: Stop and restart of NettyWebServer throws an IllegalStateException

NettyWebServer: start tries to call bootstrap.setFactory a second time, but that is illegal. Instead move all the code of setting up bootstrap to the start method and in stop set bootstrap to null again.

NettyWebServerTest: A test is included which does excatly that: start, stop, start, stop of the WebServer