PROXY_DIR filter.
PR:
Obtained from:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88971
13f79535-47bb-0310-9956-
ffa450edef68
char *filename;
int found = 0;
int eos = 0;
- ctx->buffer[0] = 0;
/* get a complete line */
/* if the buffer overruns - throw data away */
ctx->buffer, filename, filename);
}
}
+ else {
+ str = apr_pstrdup(p, ctx->buffer);
+ }
+
+ /* erase buffer for next time around */
+ ctx->buffer[0] = 0;
e = apr_bucket_pool_create(str, strlen(str), p);
APR_BRIGADE_INSERT_TAIL(out, e);