Could you add the macro of nginx version? See this as example: https://github.com/yaoweibin/nginx_tcp_proxy_module/blob/master/ngx_tcp_upstream.h#L107

We need be compatible with the old nginx.