Permalink
Browse files

fixed compatibility with nginx 0.7.65. thanks Banping for reporting t…

…his.
  • Loading branch information...
1 parent b7c8cfc commit 05a862b334aa9497a5b42d02018e147203dd404d @agentzh agentzh committed Aug 2, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/ngx_http_headers_more_filter_module.h
@@ -62,5 +62,11 @@ extern unsigned ngx_http_headers_more_handler_used;
extern unsigned ngx_http_headers_more_filter_used;
+#ifndef ngx_str_set
+#define ngx_str_set(str, text) \
+ (str)->len = sizeof(text) - 1; (str)->data = (u_char *) text
+#endif
+
+
#endif /* NGX_HTTP_HEADERS_MORE_FILTER_MODULE_H */

0 comments on commit 05a862b

Please sign in to comment.