OSDN Git Service
(root)
/
modchxj
/
mod_chxj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b967deb
)
* Fixed Bug.
author
Atsushi Konno
<konn@users.sourceforge.jp>
Wed, 1 Apr 2009 13:19:40 +0000
(22:19 +0900)
committer
Atsushi Konno
<konn@users.sourceforge.jp>
Wed, 1 Apr 2009 13:19:40 +0000
(22:19 +0900)
- set 0 to Content-Length if it has Location header.
src/mod_chxj.c
patch
|
blob
|
history
diff --git
a/src/mod_chxj.c
b/src/mod_chxj.c
index
4d4fd86
..
99c3566
100644
(file)
--- a/
src/mod_chxj.c
+++ b/
src/mod_chxj.c
@@
-1224,6
+1224,7
@@
chxj_output_filter(ap_filter_t *f, apr_bucket_brigade *bb)
r->status = HTTP_MOVED_TEMPORARILY;
ctx->buffer = apr_pstrdup(pool, "");
ctx->len = 0;
+ ap_set_content_length(r, (apr_off_t)ctx->len);
}
}
chxj_cookie_unlock(r,lock);