Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paste bug with complex path #507

Closed
justvanrossum opened this issue Jun 6, 2023 · 3 comments · Fixed by #508
Closed

Paste bug with complex path #507

justvanrossum opened this issue Jun 6, 2023 · 3 comments · Fixed by #508
Labels
bug Something isn't working

Comments

@justvanrossum
Copy link
Collaborator

Uncaught (in promise) RangeError: Maximum call stack size exceeded

image

The problem is with Fontra's use of the spread operator for arguments, which is not suitable for arbitrary length arrays, as explained here:

@justvanrossum justvanrossum added the bug Something isn't working label Jun 6, 2023
@justvanrossum
Copy link
Collaborator Author

The next problem is the maximum websocket message size, although it can be customized with the max_msg_size argument of WebSocketResponse.

@justvanrossum
Copy link
Collaborator Author

Since paste selects the pasted items, we also run into #65.

@justvanrossum
Copy link
Collaborator Author

A large websocket message closes the connection. I wonder if we can propagate the error without closing the connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant