Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch etags Excluding Merge-Ins
This is equivalent to a diff from 203d82d80e to 02740c2c47
2018-02-25
| ||
19:09 | Add support for ETags cache control. check-in: 7383450dd5 user: drh tags: trunk | |
2018-02-24
| ||
18:39 | Further changes trying to get ETags to work well. But as I type this, I feel like this design is not working out well and I am about ready to start over from scratch. This check-in is just to preserve work in case I want to come back to it later. Closed-Leaf check-in: 02740c2c47 user: drh tags: etags | |
17:08 | Fix ETags support for when compiling with FOSSIL_ENABLE_TH1_HOOKS. check-in: 43a66b58db user: drh tags: etags | |
03:49 | Add support for the ETag: and If-None-Match: headers for improved cache control. Currently this only works for /uv but the mechanism is reasonably general and can be extended to other pages. check-in: 787896c5eb user: drh tags: etags | |
00:39 | First cut at supporting ETags: and If-None-Match: for cache control. check-in: 94c0b8ecd1 user: drh tags: etags-cache-control | |
2018-02-23
| ||
21:29 | Make default project name "<unnamed>" in the output of the "extras" and "changes" commands. check-in: 203d82d80e user: drh tags: trunk | |
21:24 | Remove the mkdownload.html file from the documentation folder, since it is no longer used. Remove mention of OpenBSD from installation instructions, since precompiled binaries for that platform are no longer provided. check-in: c44d9e4dba user: drh tags: trunk | |
Changes to src/cgi.c.
︙ | |||
226 227 228 229 230 231 232 | 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - + + + + + + + + + | }else{ blob_appendf(&extraHeader, "Set-Cookie: %s=%t; Path=%s; HttpOnly;%s Version=1\r\n", zName, zValue, zPath, zSecure); } } |
︙ | |||
341 342 343 344 345 346 347 | 288 289 290 291 292 293 294 295 296 297 298 299 300 301 | - - - - - - - - - - - - - - | ** deliberate inclusion of external resources, such as JavaScript syntax ** highlighter scripts. ** ** These headers are probably best added by the web server hosting fossil as ** a CGI script. */ |
︙ |
Changes to src/cookies.c.
︙ | |||
121 122 123 124 125 126 127 128 129 130 131 132 133 134 | 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | + | int flags /* READ or WRITE or both */ ){ const char *zQVal = P(zQP); int i; cookie_parse(); for(i=0; i<cookies.nParam && strcmp(zPName,cookies.aParam[i].zPName); i++){} if( zQVal==0 && (flags & COOKIE_READ)!=0 && i<cookies.nParam ){ etag_require(ETAG_COOKIE); cgi_set_parameter_nocopy(zQP, cookies.aParam[i].zPValue, 1); return; } if( zQVal==0 ) zQVal = zDflt; if( (flags & COOKIE_WRITE)!=0 && i<COOKIE_NPARAM && (i==cookies.nParam || strcmp(zQVal, cookies.aParam[i].zPValue)) |
︙ |
Changes to src/dispatch.c.
︙ | |||
36 37 38 39 40 41 42 | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | - - - - - - - - - + + + + + + + + + + + + + + + + - - + + | unsigned int eCmdFlags; /* Flags */ }; /*************************************************************************** ** These macros must match similar macros in mkindex.c ** Allowed values for CmdOrPage.eCmdFlags. */ |
︙ |
Changes to src/doc.c.
︙ | |||
637 638 639 640 641 642 643 | 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 | - - + + + + + - - - + + + | goto doc_not_found; } }else{ goto doc_not_found; } } if( isUV ){ |
︙ | |||
827 828 829 830 831 832 833 | 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 | - + - - + - | 138, 163, 69, 96, 115, 0, 147, 72, 72, 84, 28, 14, 79, 86, 233, 230, 23, 113, 26, 160, 128, 3, 10, 58, 129, 103, 14, 159, 214, 163, 146, 117, 238, 213, 154, 128, 151, 109, 84, 64, 217, 13, 27, 10, 228, 39, 2, 235, 164, 168, 74, 8, 0, 59, }; /* |
︙ |
Added src/etag.c.