Invalid UTF-8 sequence in header value

425 views
Skip to first unread message

jerry.nie

unread,
Mar 8, 2012, 9:57:23 AM3/8/12
to discuss-webrtc
Hi,

My video call test program can work on chrome 19.0.1055.1 dev-m. But
after upgrade to 19.0.1061.1 dev-m, chrome get 'Invalid UTF-8 sequence
in header value' in console, and the socket connection is down. I am
using open source libwebsocket as web server. The web server code and
java script did not change during this upgrade.

Some web site says it may related to HYBI 00. But the libwebsocket is
the latest version.

Can anybody give me idea about this?

Best Regards,

Jerry

kapejod

unread,
Mar 8, 2012, 10:28:12 AM3/8/12
to discuss-webrtc
Hi,

somewhen in the latest Chrome versions it started to support the "per
frame deflate" websocket extension.
Libwebsockets does not support this extension and returns an empty
"Sec-WebSocket-Extensions: " header.

I guess this is a bug in libwebsockets.

best regards

Klaus
Reply all
Reply to author
Forward
0 new messages