summaryrefslogtreecommitdiff
path: root/www/nginx-devel/files
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2009-09-13 08:42:27 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2009-09-13 08:42:27 +0000
commitaa6fbabcca147b7b299ccc9b0116d14cce9803e1 (patch)
treef3f27e99bedc1ef29117972558af0fd1e8aedbf8 /www/nginx-devel/files
parent- Update to 1.8.6. (diff)
Update upload_progress module from 0.5 to 0.6.
Remove needless patch. Do not bump PORTREVISION. Notice from: Brice Figureau aka brice at daysofwonder dot com
Diffstat (limited to 'www/nginx-devel/files')
-rw-r--r--www/nginx-devel/files/extra-patch-ngx_http_uploadprogress_module.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/www/nginx-devel/files/extra-patch-ngx_http_uploadprogress_module.c b/www/nginx-devel/files/extra-patch-ngx_http_uploadprogress_module.c
deleted file mode 100644
index 9752602780a6..000000000000
--- a/www/nginx-devel/files/extra-patch-ngx_http_uploadprogress_module.c
+++ /dev/null
@@ -1,40 +0,0 @@
---- ../nginx_uploadprogress_module/ngx_http_uploadprogress_module.c.orig 2009-06-26 15:32:01.000000000 +0400
-+++ ../nginx_uploadprogress_module/ngx_http_uploadprogress_module.c 2009-06-26 15:38:30.000000000 +0400
-@@ -187,8 +187,9 @@
- if (i) {
- start_p = p += 14;
- while (p < r->args.data + r->args.len) {
-- if (*p++ != '&') {
-- continue;
-+ if (*p++ == '&') {
-+ p--;
-+ break;
- }
- }
-
-@@ -799,7 +799,7 @@ ngx_clean_old_connections(ngx_event_t * ev)
- ngx_http_uploadprogress_ctx_t *ctx;
- ngx_slab_pool_t *shpool;
- ngx_rbtree_node_t *node;
-- ngx_http_uploadprogress_node_t *up;
-+ ngx_http_uploadprogress_node_t *up, *upprev;
- time_t now = ngx_time();
- int count = 0;
-
-@@ -822,6 +822,7 @@ ngx_clean_old_connections(ngx_event_t * ev)
- }
-
- up = (ngx_http_uploadprogress_node_t *) node;
-+ upprev = up->prev;
-
- ngx_log_debug3(NGX_LOG_DEBUG_HTTP, shm_zone->shm.log, 0,
- "uploadprogress clean: scanning %08XD (req done %ui) timeout at %T",
-@@ -840,7 +841,7 @@ ngx_clean_old_connections(ngx_event_t * ev)
- }
- else
- count++;
-- node = (ngx_rbtree_node_t *) up->prev;
-+ node = (ngx_rbtree_node_t *) upprev;
- }
-
- ngx_log_debug3(NGX_LOG_DEBUG_HTTP, shm_zone->shm.log, 0,