projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
transport API: add header argument to the init methon (required by websocket handshake)
[brisk.git]
/
web
/
Obj
/
user.phh
diff --git
a/web/Obj/user.phh
b/web/Obj/user.phh
index
a2c3829
..
97b0a38
100644
(file)
--- a/
web/Obj/user.phh
+++ b/
web/Obj/user.phh
@@
-59,6
+59,7
@@
define('USER_FLAG_TY_NORM', 0x010000); // done
define('USER_FLAG_TY_SUPER', 0x020000); // done
define('USER_FLAG_TY_CERT', 0x040000); // done
// ... other usefull status ...
define('USER_FLAG_TY_SUPER', 0x020000); // done
define('USER_FLAG_TY_CERT', 0x040000); // done
// ... other usefull status ...
+define('USER_FLAG_TY_FIRONLY', 0x200000); // done
define('USER_FLAG_TY_SUSPEND', 0x400000); // done
define('USER_FLAG_TY_DISABLE', 0x800000); // done
define('USER_FLAG_TY_SUSPEND', 0x400000); // done
define('USER_FLAG_TY_DISABLE', 0x800000); // done
@@
-695,7
+696,7
@@
class User {
stat
step
*/
stat
step
*/
-function stream_init($init_string, $enc, &$header_out, &$body, $get, $post, $cookie)
+function stream_init($init_string, $enc,
$header,
&$header_out, &$body, $get, $post, $cookie)
{
$curtime = time();
{
$curtime = time();
@@
-716,7
+717,7
@@
function stream_init($init_string, $enc, &$header_out, &$body, $get, $post, $coo
$this->rd_data_set($curtime, $transp, $enc, $stat, $subst, $step, $from);
$this->rd_data_set($curtime, $transp, $enc, $stat, $subst, $step, $from);
- $body .= $this->rd_transp->init($enc, &$header_out, $init_string, self::base_get(), $this->rd_scristp);
+ $body .= $this->rd_transp->init($enc,
$header,
&$header_out, $init_string, self::base_get(), $this->rd_scristp);
return TRUE;
}
return TRUE;
}