Differences From Artifact [925890497c]:
- File src/style.c — part of check-in [e59a7fd3cf] at 2017-12-07 01:57:52 on branch trunk — Fix minor script problems. Actually turn on CSP. (user: drh size: 28652) [more...]
To Artifact [f905ab86a3]:
- File src/style.c — part of check-in [05ec15cad5] at 2017-12-23 00:50:09 on branch trunk — Fix the "fossil server" command to allow up to FOSSIL_MAX_CONNECTIONS (default 1000) pending HTTP requests. This is an increase from 2. Add the --max-latency command-line option for "fossil server". Do a better job of harvesting dead child processes. Report the number of sibling HTTP request handler processes on the /test_env page. (user: drh size: 28739) [more...]
︙ | |||
906 907 908 909 910 911 912 913 914 915 916 917 918 919 | 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 | + + + | for(i=0, c='a'; c<='z'; c++){ if( login_has_capability(&c, 1, 0) ) zCap[i++] = c; } zCap[i] = 0; @ g.userUid = %d(g.userUid)<br /> @ g.zLogin = %h(g.zLogin)<br /> @ g.isHuman = %d(g.isHuman)<br /> if( g.nPendingRequest>1 ){ @ g.nPendingRequest = %d(g.nPendingRequest)<br /> } @ capabilities = %s(zCap)<br /> for(i=0, c='a'; c<='z'; c++){ if( login_has_capability(&c, 1, LOGIN_ANON) && !login_has_capability(&c, 1, 0) ) zCap[i++] = c; } zCap[i] = 0; if( i>0 ){ |
︙ |