Differences From Artifact [48e9ebe45d]:
- File src/style.c — part of check-in [840b762206] at 2014-03-08 16:14:25 on branch trunk — Clean up and standardize the handling of user "nobody" and the g.zLogin global variable. (user: drh size: 36275)
To Artifact [5d52218836]:
- File src/style.c — part of check-in [5e26a1b9b2] at 2014-03-09 00:15:05 on branch trunk — Add the ability to restrict CPU-intensive web pages when the server load average gets too high. This feature is turned off by default. (user: drh size: 36320)
| ︙ | |||
1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 | 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 | + |
if( login_has_capability(&c, 1) ) zCap[i++] = c;
}
zCap[i] = 0;
@ g.userUid = %d(g.userUid)<br />
@ g.zLogin = %h(g.zLogin)<br />
@ g.isHuman = %d(g.isHuman)<br />
@ capabilities = %s(zCap)<br />
@ host-load-avg = %f(load_average())<br />
@ <hr>
P("HTTP_USER_AGENT");
cgi_print_all(showAll);
if( showAll && blob_size(&g.httpHeader)>0 ){
@ <hr>
@ <pre>
@ %h(blob_str(&g.httpHeader))
|
| ︙ |