Fossil

Check-in [2cd0c7657f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Be sure to flush g.httpOut at the end of cgi_reply().
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 2cd0c7657f2fea54ec0d785ada1e6aebb681f349
User & Date: drh 2011-07-12 20:27:37.564
Context
2011-07-13
21:15
Fix an assert() that fires if the "stash" command is used after having done an "rm". Ticket [3ce0ea97522581] ... (check-in: 336e194c4d user: drh tags: trunk)
2011-07-12
20:27
Be sure to flush g.httpOut at the end of cgi_reply(). ... (check-in: 2cd0c7657f user: drh tags: trunk)
2011-07-10
12:05
Don't show the cookie values on the test_env page, unless the fossil executable was built with FOSSIL_DEBUG. ... (check-in: 35ecc92b69 user: ben tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/cgi.c.
351
352
353
354
355
356
357

358
359
360
361
362
363
364
    for(i=0; i<2; i++){
      size = blob_size(&cgiContent[i]);
      if( size>0 ){
        fwrite(blob_buffer(&cgiContent[i]), 1, size, g.httpOut);
      }
    }
  }

  CGIDEBUG(("DONE\n"));
}

/*
** Do a redirect request to the URL given in the argument.
**
** The URL must be relative to the base of the fossil server.







>







351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
    for(i=0; i<2; i++){
      size = blob_size(&cgiContent[i]);
      if( size>0 ){
        fwrite(blob_buffer(&cgiContent[i]), 1, size, g.httpOut);
      }
    }
  }
  fflush(g.httpOut);
  CGIDEBUG(("DONE\n"));
}

/*
** Do a redirect request to the URL given in the argument.
**
** The URL must be relative to the base of the fossil server.