Re-enable Windows support

It works well enough now with the recent fixes and a modern Python.
This commit is contained in:
Pierre Ossman 2019-04-02 17:04:19 +02:00
parent 85074b6eb5
commit e4658ada2e
1 changed files with 0 additions and 3 deletions

View File

@ -40,9 +40,6 @@ for mod, msg in [('ssl', 'TLS/SSL/wss is disabled'),
if sys.platform == 'win32': if sys.platform == 'win32':
# make sockets pickle-able/inheritable # make sockets pickle-able/inheritable
import multiprocessing.reduction import multiprocessing.reduction
# the multiprocesssing module behaves much differently on Windows,
# and we have yet to fix all the bugs
sys.exit("Windows is not supported at this time")
from websockify.websocket import WebSocket, WebSocketWantReadError, WebSocketWantWriteError from websockify.websocket import WebSocket, WebSocketWantReadError, WebSocketWantWriteError
from websockify.websocketserver import WebSocketRequestHandlerMixIn from websockify.websocketserver import WebSocketRequestHandlerMixIn