Skip to content

file_upload大小限制修改问题。 #690

@YorkWong1995

Description

@YorkWong1995

我在创建时已经设置了比较大的max_payload_Size和websocket_max_message_size
但是在上传文件时还是会报错,我需要上传一个223M的文件和3个10M以下的文件,但是链接会断开。试了很多方法没有解决。
start_server(main, port=9089, debug=True, remote_access=True, auto_open_webbrowser=True, reconnect_timeout=60,
heartbeat_check_interval=30,
max_payload_size=1024 * 1024 * 1024, websocket_max_message_size=1024 * 1024 * 1024)
file_upload('****', accept='.bin', name='bin_file', required=True, multiple=True, max_size=1024 * 1024 * 1024,
chunk_size=10 * 1024 * 1024),
也尝试修改了turnado大小限制
websocket.WebSocketHandler.MAX_MESSAGE_SIZE = 1024 * 1024 * 1024

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions