Skip to content

theboxahaan/socketio-maxsize-patch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

socketio-maxsize-patch

Patch the maximum size of packets accepted over the async websocket connection establised using the python-socketio library. https://pypi.org/project/python-socketio/

Applying this patch sets maxsize=0 i.e. the maximum size limit is removed.

Usage

Do this at the top of the module before any import statements

from patch import apply_patch
apply_patch()

What you should see on client.connect()

On successful application of the patch, wise words will be spoken by cowsay

[patching max response size]

            ^__^            
            (oo)\_______    
            (__)\       )\/\ 
                ||----w |   
  w w w w w     ||     ||

Releases

No releases published

Packages

No packages published

Languages