<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">When the pull request here
 gets merged into master, then it should work on 1.11.11 (and 1.11.12):<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/openresty/echo-nginx-module/pull/65">https://github.com/openresty/echo-nginx-module/pull/65</a><br>
<br>
<span>A. Schulze wrote:</span><br>
<blockquote 
cite="mid:de02e215-7721-98a5-f08e-44ef14899fc0@andreasschulze.de" 
type="cite">
  <pre wrap="">
Am 01.02.2016 um 23:53 schrieb Yichun Zhang (agentzh):
</pre>
  <blockquote type="cite"><pre wrap="">Hello!

On Fri, Jan 29, 2016 at 8:40 PM, Kurt Cancemi wrote:
</pre><blockquote type="cite"><pre wrap="">I was doing some debugging and though I haven't found a fix. The problem is
in the ngx_http_echo_client_request_headers_variable() function c->buffer is
NULL when http v2 is used for some reason (internal to nginx).

</pre></blockquote><pre wrap="">This is expected since the HTTP/2 mode of NGINX reads the request
header into a different place. We should branch the code accordingly.

Regards,
-agentzh
</pre></blockquote>
  <pre wrap=""><!---->
Hello,

unfortunately the module fail to compile on 1.11.12
while compiling was successfully up to 1.11.10

cc -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/include -I objs -I src/http -I src/http/modules -I src/http/v2 -I src/stream \
        -o objs/addon/src/ngx_http_echo_request_info.o \
        ./echo-nginx-module-0.60//src/ngx_http_echo_request_info.c
./echo-nginx-module-0.60//src/ngx_http_echo_request_info.c: In function 'ngx_http_echo_client_request_headers_variable':
./echo-nginx-module-0.60//src/ngx_http_echo_request_info.c:219:15: error: incompatible types when assigning to type 'ngx_buf_t * {aka struct ngx_buf_s *}' from type 'ngx_chain_t {aka struct ngx_chain_s}'
             b = hc->busy[i];
               ^
./echo-nginx-module-0.60//src/ngx_http_echo_request_info.c:284:15: error: incompatible types when assigning to type 'ngx_buf_t * {aka struct ngx_buf_s *}' from type 'ngx_chain_t {aka struct ngx_chain_s}'
             b = hc->busy[i];
               ^
objs/Makefile:1523: recipe for target 'objs/addon/src/ngx_http_echo_request_info.o' failed

I guess, something changed from 1.11.10 to 1.11.12 ...

Andreas
_______________________________________________
nginx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a>
</pre>
</blockquote>
<br>
</body></html>