Skip to content

Release increase_websocket_message_size for use on production #4649

@danamajid

Description

@danamajid

I’m working on adding support to connecting to any arbitrary websocket chrome dev protocol server for @cloudflare/playwright (in draft cloudflare/playwright#59) but seeing errors when the incoming WS messages are above 1mb. For example:

WebSocket protocol error; protocolError.statusCode = 1009; protocolError.description = Message is too large: 2417523 > 1048576

fc77758 introduced the compatibility flag increase_websocket_message_size that increases this limit. But this flag is not deployable to prod: The compatibility flag increase_websocket_message_size is experimental and cannot yet be used in Workers deployed to Cloudflare.

Any plans to enable this on prod @andyjessop @penalosa? I understand the comment says This is not expected ever to be made available in production, as large messages are inefficient. but w/ browser automation in the AI age being even more important, pretty key to be able to control CDP from Workers. CDP messages can be huge when running automation on websites with a big DOM tree.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions