1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-17 19:59:13 +02:00

Use same values as the real SignalMaster

This commit is contained in:
Daniel Berteaud 2015-03-10 12:58:53 +01:00
parent 918a0c03f5
commit 20b838878b

View File

@ -899,8 +899,8 @@ get '/socket.io/:ver' => sub {
$self->session(peer_id => $self->get_random(256));
my $handshake = Protocol::SocketIO::Handshake->new(
session_id => $self->session('peer_id'),
heartbeat_timeout => 15,
close_timeout => 20,
heartbeat_timeout => 20,
close_timeout => 40,
transports => [qw/websocket/]
);
return $self->render(text => $handshake->to_bytes);