RFC 6455 allows large BINARY payloads to be split across multiple frames with FIN=0 and CONTINUATION opcodes. The previous recv() only returned the first fragment, corrupting the MTProto stream and breaking some media downloads. Control frames between fragments are still handled as before. Made-with: Cursor |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| tg_ws_proxy.py | ||