Skip to content

Commit 38d77b6

Browse files
committed
Enable websocket compression compat date
This does not enable compression for all compatibility dates.
1 parent 857ef5f commit 38d77b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/workerd/io/compatibility-date.capnp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ struct CompatibilityFlags @0x8f8c1b68151b6cef {
224224
# Obsolete flag. Has no effect.
225225

226226
webSocketCompression @20 :Bool
227-
$compatEnableFlag("web_socket_compression");
227+
$compatEnableFlag("web_socket_compression")
228+
$compatEnableDate("2023-08-15");
228229
# Enables WebSocket compression. Without this flag, all attempts to negotiate compression will
229230
# be refused, so WebSockets will never use compression. With this flag, the system will
230231
# automatically negotiate the use of the permesssage-deflate extension where appropriate.

0 commit comments

Comments
 (0)