-
Notifications
You must be signed in to change notification settings - Fork 25
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
Unhandled header! #10
Comments
Best advice I can offer is to refer to existing implementations (e.g., ttyd). There’s also an example sz CLI implementation in the repo. |
The code implementation completely refers to the existing implementation, but it still reports an error |
Can you provide a test case that fails? |
yes |
Can you please rework that to a test case for this repository, some JS code that demonstrates how the library as it stands is behaving contrary to its documentation? |
I’m closing this, as there hasn’t yet materialized a test case that shows a reproducible bug. I do recognize that it’s hard to get use of this library correct. I’d also accept a PR to add examples of correct usage. |
@walirt Hello, I encountered the same problem as you, how did you solve it? Where do you mean to set the sender callback? How to solve the subsequent OO problem? Can you provide an simple example? thanks |
@walirt Hi,I encountered the same problem as you, Have you solved it, I want to see your example,thanks. |
建议参考一下这个项目,逻辑是一样的:https://github.com/huyuan1999/django-webssh |
I have solved the problem!
|
My code is the same as yours, but it still reports errors |
Your back-end code needs to process the'OO' code returned by the server. This process requires the cooperation of the front and back ends.You can refer to this project: https://github.com/huyuan 1999/django-webssh, the relevant logic in ssh.py |
I try to implement zmodem protocol using zmodemjs on websocket
And follow the zmodemjs documentation
But when I input rz and sz commands, I get an error. I do n’t know how to solve it.
Can you give me some suggestions or solutions?
Thank you
Platform and software version
Ubuntu 18.04.3 LTS
lrzsz version 0.12.21rc
Console error output
When running rz
When running sz
This problem has troubled me for a long time
Thanks again
The text was updated successfully, but these errors were encountered: