# Fix \`respondWebSocket\`, enable \-\-webui on Windows · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/125c4a265aa7cfe82b3fc0c1ac7de75a07315411)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 125c4a265aa7cfe82b3fc0c1ac7de75a07315411

Requested commit: 125c4a265aa7cfe82b3fc0c1ac7de75a07315411

Commit: 125c4a265aa7cfe82b3fc0c1ac7de75a07315411

Tree: 42d85f7fdee5e5efc406b474a14df423ad561bc9

Author: kcbanner

Committer: kcbanner

## Message

```
Fix `respondWebSocket`, enable --webui on Windows

This commit re-enables the --webui functionality on windows, with the caveat that rebuild functionality is still disabled (due to deadlocks caused by reading to / writing from the same non-overlapped socket on multiple threads). I updated the UI to be aware of this, and hide the `Rebuild` button.

http.Server: Remove incorrect advance() call. This was causing browsers to disconnect the websocket, as we were sending undefined bytes.
build.WebServer: Re-enable on windows, but disable functionality that requires receiving messages from the client
build-web: Show total times in tables

```

## Parents

- [5f7a0bbabfde4eeb0ff4f40f0942ef710b6104a1](https://git.cafe/gitcafe/zig/commit/5f7a0bbabfde4eeb0ff4f40f0942ef710b6104a1?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/125c4a265aa7cfe82b3fc0c1ac7de75a07315411?format=markdown)
