Differences From Artifact [0670ae0d60]:
- File src/zip.c — part of check-in [9b0ebcaf23] at 2022-04-14 16:58:36 on branch load-control-rework — Per /chat discussion, replace load_control() calls in selective pages with nice() and move load_control() into process_one_web_page(). There is still work to do here, e.g. allowing certain pages through (namely /chat, to facilitate coordination of site defense) and perhaps checking credentials if the load is too high and always allowing admin users. (user: stephan size: 30676) [more...]
To Artifact [e3e6dc2524]:
- File src/zip.c — part of check-in [1bf6686e76] at 2022-04-20 09:38:57 on branch trunk — Changed zlib crc type from int to unsigned long, as that's the type returned by zlib's crc32() and doing so reportedly resolves the CRC error reported in [forum:7a9097e557 | forum post 7a9097e557]. (user: stephan size: 30686) [more...]
| ︙ | ︙ | |||
| 253 254 255 256 257 258 259 | 
  const Blob *pFile, 
  int mPerm
){
  z_stream stream;
  int nameLen;
  int toOut = 0;
  int iStart;
 | | | 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 | 
  const Blob *pFile, 
  int mPerm
){
  z_stream stream;
  int nameLen;
  int toOut = 0;
  int iStart;
  unsigned long iCRC = 0;
  int nByte = 0;
  int nByteCompr = 0;
  int nBlob;                 /* Size of the blob */
  int iMethod;               /* Compression method. */
  int iMode = 0644;          /* Access permissions */
  char *z;
  char zHdr[30];
 | 
| ︙ | ︙ |