Changes with Apache 2.0.12-dev
+ *) Namespace protect IOBUFSIZ since it is exposed in the API.
+ [Jon Travis <jtravis@covalent.net>]
+
*) Use "Basic" authentication instead of "basic" in ab, as the spec
says we should. [Andre Breiler <andre.breiler@rd.bbc.co.uk>]
#define HUGE_STRING_LEN 8192
/* The size of the server's internal read-write buffers */
-#define IOBUFSIZE 8192
+#define AP_IOBUFSIZE 8192
/*
* Special Apache error codes. These are basically used
*/
static void do_emit_plain(request_rec *r, apr_file_t *f)
{
- char buf[IOBUFSIZE + 1];
+ char buf[AP_IOBUFSIZE + 1];
int i, c, ch;
apr_size_t n;
apr_status_t stat;
ap_rputs("<PRE>\n", r);
while (!apr_file_eof(f)) {
do {
- n = sizeof(char) * IOBUFSIZE;
+ n = sizeof(char) * AP_IOBUFSIZE;
stat = apr_file_read(f, buf, &n);
}
while (stat != APR_SUCCESS && APR_STATUS_IS_EINTR(stat));
*/
static void do_emit_plain(request_rec *r, apr_file_t *f)
{
- char buf[IOBUFSIZE + 1];
+ char buf[AP_IOBUFSIZE + 1];
int i, c, ch;
apr_size_t n;
apr_status_t stat;
ap_rputs("<PRE>\n", r);
while (!apr_file_eof(f)) {
do {
- n = sizeof(char) * IOBUFSIZE;
+ n = sizeof(char) * AP_IOBUFSIZE;
stat = apr_file_read(f, buf, &n);
}
while (stat != APR_SUCCESS && APR_STATUS_IS_EINTR(stat));