web-platform-tests/wpt

WebSocketDaemon attempted spawn even when ws_doc_root is null

Open

#8675 aperta il 13 dic 2017

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)HTML (2898 fork)batch import
good first issueinfrapriority:backlog

Metriche repository

Star
 (4581 star)
Metriche merge PR
 (Merge medio 5g 23h) (682 PR mergiate in 30 g)

Descrizione

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.

Guida contributor