projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http_streaming poll relaxed from 200 to 300 millisec
[brisk.git]
/
web
/
briskin5
/
index_wr.php
diff --git
a/web/briskin5/index_wr.php
b/web/briskin5/index_wr.php
index
fbc37c5
..
76a4623
100644
(file)
--- a/
web/briskin5/index_wr.php
+++ b/
web/briskin5/index_wr.php
@@
-2,7
+2,7
@@
/*
* brisk - index_wr.php
*
/*
* brisk - index_wr.php
*
- * Copyright (C) 2006-201
1
Matteo Nastasi
+ * Copyright (C) 2006-201
2
Matteo Nastasi
* mailto: nastasi@alternativeoutput.it
* matteo.nastasi@milug.org
* web: http://www.alternativeoutput.it
* mailto: nastasi@alternativeoutput.it
* matteo.nastasi@milug.org
* web: http://www.alternativeoutput.it
@@
-73,9
+73,11
@@
function bin5_index_wr_main(&$bri, $remote_addr, $get, $post, $cookie)
log_wr('POSTSPLIT: '.$argz[0].' user->stat: ['.$user->stat.']');
log_wr($user->step, 'bin::index_wr.php: after get_user()');
log_wr('POSTSPLIT: '.$argz[0].' user->stat: ['.$user->stat.']');
log_wr($user->step, 'bin::index_wr.php: after get_user()');
+
+ $user->lacc = $curtime;
if ($argz[0] == 'ping') {
if ($argz[0] == 'ping') {
-
$user->lacc = $curtime
;
+
log_wr("PING RECEIVED")
;
}
else if (false && $argz[0] == 'shutdown') {
log_auth($user_cur->sess, "Shutdown session. delegate to room gc the autologout");
}
else if (false && $argz[0] == 'shutdown') {
log_auth($user_cur->sess, "Shutdown session. delegate to room gc the autologout");
@@
-109,8
+111,6
@@
function bin5_index_wr_main(&$bri, $remote_addr, $get, $post, $cookie)
$bri->chatt_send(&$user,$mesg);
}
else if ($argz[0] == 'preferences_update') {
$bri->chatt_send(&$user,$mesg);
}
else if ($argz[0] == 'preferences_update') {
- GLOBAL $CO_bin5_pref_ring_endauct;
-
log_wr("PER DI PREFERENCES_UPDATE");
if ($CO_bin5_pref_ring_endauct == "true")
log_wr("PER DI PREFERENCES_UPDATE");
if ($CO_bin5_pref_ring_endauct == "true")