I've been trying to get go9p up and running over a websocket connection for some time and have had no luck. I can't get the Ufs server to run over websockets. I'm not sure how else it could be set up. I either get a "Connection reset by peer" error, or a EOF error on the client. I have a feeling that this has to with how websockets handles its message frames. The proof of concept server and clnt I set up are in the below gist. Any guidance of how to set it up correctly or where to start tracking down the 'bug' would be great.
I've been trying to get go9p up and running over a websocket connection for some time and have had no luck. I can't get the Ufs server to run over websockets. I'm not sure how else it could be set up. I either get a "Connection reset by peer" error, or a EOF error on the client. I have a feeling that this has to with how websockets handles its message frames. The proof of concept server and clnt I set up are in the below gist. Any guidance of how to set it up correctly or where to start tracking down the 'bug' would be great.
https://gist.github.com/cleahcim/c0f43caabc346473f7ea