Permalink
Browse files

fixed a bug in segmented chain link file writing.

  • Loading branch information...
1 parent 3a651db commit 111c2070c07d47f8f8fb6a0d313b58ec584d0346 @agentzh committed Nov 15, 2009
Showing with 5 additions and 9 deletions.
  1. +2 −2 README
  2. +1 −1 src/chunked_parser.c
  3. +1 −1 src/chunked_parser.rl
  4. +1 −5 src/ngx_http_chunkin_request_body.c
View
4 README
@@ -1,6 +1,6 @@
This module attempts to add HTTP 1.1 chunked transfer
-encoding support for request bodies to nginx 0.8.x and
-0.7.x without patching nginx.
+encoding support for request bodies to nginx (0.8.x and
+0.7.x >= 0.7.21) without patching nginx.
Status
View
@@ -1,5 +1,5 @@
#line 1 "src/chunked_parser.rl"
-#define DDEBUG 1
+#define DDEBUG 0
#include "ddebug.h"
View
@@ -1,4 +1,4 @@
-#define DDEBUG 1
+#define DDEBUG 0
#include "ddebug.h"
@@ -1,4 +1,4 @@
-#define DDEBUG 1
+#define DDEBUG 0
#include "ddebug.h"
@@ -583,10 +583,6 @@ ngx_http_write_request_body(ngx_http_request_t *r, ngx_chain_t *body)
rb->temp_file->offset += n;
- if (saved_next == NULL) {
- break;
- }
-
cl->next = saved_next;
body = cl->next;
i = 0;

0 comments on commit 111c207

Please sign in to comment.