Closed GoogleCodeExporter closed 9 years ago
Hello try update your MainFormU.pas
function TTestWebSocketServer.GetWebSocketConnectionClass( Socket:
TTCPCustomConnectionSocket;
Header: TStringList;
ResourceName, Host, Port, Origin, Cookie: string;
out HttpResult: integer;
var Protocol, Extensions: string
): TWebSocketServerConnections;
begin
result := TTestWebSocketServerConnection;
Protocol := '-';
Extensions := '-';
end;
Does it help?
Original comment by Bronisla...@bauglir.com
on 27 Oct 2011 at 9:13
Yes.. now works!
Original comment by r.federiconi
on 27 Oct 2011 at 10:17
Hello,
The reason here is that FF since 7.0.1 is using implicitli extension
deflate-stream (compression) and server must say that it does not support such
extension (Extensions := '-';), than FF falls back to regular WS protocol.
Glad I could help
BK
Original comment by Bronisla...@bauglir.com
on 27 Oct 2011 at 10:32
Original issue reported on code.google.com by
r.federiconi
on 27 Oct 2011 at 7:38