lua-resty-websocket icon indicating copy to clipboard operation
lua-resty-websocket copied to clipboard

You have wrote two demo but they does not worked with each other

Open xiaolisheng opened this issue 8 years ago • 2 comments

My English is not good,so sorry. I was download the openresty and put it to work.Then I followed your demo,but they does not worker with each other.It make me confused for second,but I have fix it. I think the reason is: The client connected success,then the client blocked on method wb:recv_frame() The server created success,then the server blocked on method wb:recv_frame() Then I got a problem,They both will block util timeout. I think you may want to rewrite those two demos,so that the others can avoid this problem and stop wasting time.

xiaolisheng avatar Oct 31 '17 15:10 xiaolisheng

@xiaolisheng They never meant to work with each other. But I agree it would be cool if they do. Will you contribute a pull request please?

agentzh avatar Oct 31 '17 17:10 agentzh

OK,I will.

xiaolisheng avatar Nov 01 '17 11:11 xiaolisheng