1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

websocket: fix format selection in client connections

This commit is contained in:
Steffen Vogel 2018-06-05 09:09:12 +02:00
parent 1da2d9732d
commit 280c20de94

View file

@ -415,7 +415,7 @@ int websocket_start(struct node *n)
c->state = WEBSOCKET_CONNECTION_STATE_CONNECTING;
c->node = n;
c->format = format_type_lookup("villas.web");
c->format = format_type_lookup("villas.web"); /** @todo We could parse the format from the URI */
c->destination = d;
d->info.context = web->context;