Cleanup
[project/luci.git] / libs / sgi-webuci / boa-patches / 210-accept_fix.patch
1 Index: boa-0.94.13/src/request.c
2 ===================================================================
3 --- boa-0.94.13.orig/src/request.c 2008-06-29 01:11:52.000000000 +0200
4 +++ boa-0.94.13/src/request.c 2008-10-07 18:10:59.000000000 +0200
5 @@ -281,6 +281,10 @@
6 if (req->script_name)
7 free(req->script_name);
8
9 +#ifdef ACCEPT_ON
10 + req->accept[0] = '\0';
11 +#endif
12 +
13 if ((req->keepalive == KA_ACTIVE) &&
14 (req->response_status < 500) && req->kacount > 0) {
15 int bytes_to_move;