web-platform-tests/wpt

WebSocketDaemon attempted spawn even when ws_doc_root is null

Open

#8.675 aberto em 13 de dez. de 2017

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)HTML (2.898 forks)batch import
good first issueinfrapriority:backlog

Métricas do repositório

Stars
 (4.581 stars)
Métricas de merge de PR
 (Mesclagem média 5d 23h) (682 fundiu PRs em 30d)

Description

If ws_doc_root is null (default in config.default.json), server.py still attempts to spawn WebSocketDaemons, which then fail due to lack of config.

I'm pretty new to wpt so not sure if desired behavior in this case is to

a) Require that ws_doc_root be set b) If ws_doc_root is not set, skip spawning WebSocketDaemon c) Make WebSocketDaemon handle null and default config better

For now, I assuming b) but defer to experts in terms of how this should be handled.

Guia do colaborador