output using the "include_html_head" option of output_headers() (which
is nearly all of them). This should speed up the network considerably,
and also pave the way for another attempt at adding zlib compression
back in.
$Log$
+Revision 603.1 2005/02/21 23:00:04 ajc
+* begin_burst() / end_burst() semantics now apply to all pages which are
+ output using the "include_html_head" option of output_headers() (which
+ is nearly all of them). This should speed up the network considerably,
+ and also pave the way for another attempt at adding zlib compression
+ back in.
+
Revision 603.0 2005/02/21 22:00:13 ajc
* THIS IS 6.03
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
-
/*
* Output HTTP headers which are common to all requests.
+ *
+ * Please observe that we don't use the usual output_headers()
+ * and wDumpContent() functions in the GroupDAV subsystem, so we
+ * do our own header stuff here.
+ *
*/
void groupdav_common_headers(void) {
wprintf(
/*
* Uncomment this to log all communications with the Citadel server
- */
#define SERV_TRACE 1
+ */
#include <ctype.h>
#include <stdlib.h>
do_template("trailing");
}
+ /* If we've been saving it all up for one big output burst,
+ * go ahead and do that now.
+ */
+ end_burst();
}
}
if (do_htmlhead) {
- wprintf("\n");
+ /* wprintf("\n"); */
+ begin_burst();
if (refresh30) {
svprintf("REFRESHTAG", WCS_STRING, "%s",
size_t the_len;
char *the_data;
+ if (WC->burst == NULL) return;
+
the_len = WC->burst_len;
the_data = WC->burst;