On Wed, 19 Mar 2014 10:43:05 GMT, Anton Gushcha wrote:

Hi, i am using hot restarting without process termination. Is there any way to remove handlers for listenTCP, listenHTTP?

PS. The listenHTTP doesn't rewrite previous call and vibe still uses old delegate/function.

For listenTCP, there is TCPListener.stopListening, but for listenHTTP, nothing exists right now. I'll create a ticket to add an equivalent HTTPListener.

Calls to listenHTTP are meant to be additive to support multiple virtual hosts on the same interface, which is why it currently doesn't complain when it's repeatedly called - but there should probably be a check to disallow multiple calls with the same host name once the HTTPListener is implemented.