allow message processing from onopen browser context
authorYonathan Yusim <yonathan@boxee.tv>
Sun, 8 Apr 2012 22:42:39 +0000 (06:42 +0800)
committerAndy Green <andy.green@linaro.org>
Sun, 8 Apr 2012 22:42:39 +0000 (06:42 +0800)
commit3ae39ff7968e99ca4cf2215f1960a0bd980899b7
tree1c549fd46fcae4b6b940fb11c96f41efaa5f2b2e
parente8c9b565a49fa998f6e43dbfc214124f048b1acc
allow message processing from onopen browser context

Found an issue in libwebsockets - if a server sends a message within its "onopen" context then the message is getting swallowed and not passed to calling client (means LWS_CALLBACK_CLIENT_RECEIVE is never getting called).
I've fixed the bug - pls find attached patch.

Signed-off-by: Yonathan Yusim <yonathan@boxee.tv>
Signed-off-by: Andy Green <andy@warmcat.com>
lib/libwebsockets.c