This construction with AIO breaks down when requested: curl -IXPURGE localhost/favicon.*
nginx version: nginx/1.11.10
built by gcc 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12)
built with OpenSSL 1.1.0e 16 Feb 2017
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --with-openssl=openssl-1.1.0e --with-http_ssl_module --add-module=ngx_cache_purge --with-file-aio --with-cc-opt=-g --with-debug
$ curl -IXGET localhost/favicon.ico
HTTP/1.1 200 OK
Server: nginx/1.11.10
Date: Wed, 22 Feb 2017 15:32:08 GMT
Content-Type: image/x-icon
Content-Length: 1150
Connection: keep-alive
Last-Modified: Tue, 21 Feb 2017 11:26:54 GMT
ETag: "58ac23fe-47e"
X-Cache-Status: HIT
Accept-Ranges: bytes
$ curl -IXPURGE localhost/favicon.*
curl: (52) Empty reply from server
Output of gdb contains in attached file
[gdb-core-dump.txt](https://github.com/nginx-modules/ngx_cache_purge/files/794107/gdb-core-dump.txt)
-------------------
2. In construction without module aio all is well:
nginx version: nginx/1.11.10
built by gcc 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12)
built with OpenSSL 1.1.0e 16 Feb 2017
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --with-openssl=openssl-1.1.0e --with-http_ssl_module --add-module=ngx_cache_purge --with-cc-opt=-g --with-debug
$ curl -IXGET localhost/favicon.ico
HTTP/1.1 200 OK
Server: nginx/1.11.10
Date: Wed, 22 Feb 2017 16:34:07 GMT
Content-Type: image/x-icon
Content-Length: 1150
Connection: keep-alive
Last-Modified: Tue, 21 Feb 2017 11:26:54 GMT
ETag: "58ac23fe-47e"
X-Cache-Status: MISS
Accept-Ranges: bytes
$ curl -IXGET localhost/favicon.ico HTTP/1.1 200 OK Server: nginx/1.11.10 Date: Wed, 22 Feb 2017 15:32:08 GMT Content-Type: image/x-icon Content-Length: 1150 Connection: keep-alive Last-Modified: Tue, 21 Feb 2017 11:26:54 GMT ETag: "58ac23fe-47e" X-Cache-Status: HIT Accept-Ranges: bytes
$ curl -IXPURGE localhost/favicon.* curl: (52) Empty reply from server
nginx version: nginx/1.11.10 built by gcc 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12) built with OpenSSL 1.1.0e 16 Feb 2017 TLS SNI support enabled configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --with-openssl=openssl-1.1.0e --with-http_ssl_module --add-module=ngx_cache_purge --with-cc-opt=-g --with-debug
$ curl -IXGET localhost/favicon.ico HTTP/1.1 200 OK Server: nginx/1.11.10 Date: Wed, 22 Feb 2017 16:34:07 GMT Content-Type: image/x-icon Content-Length: 1150 Connection: keep-alive Last-Modified: Tue, 21 Feb 2017 11:26:54 GMT ETag: "58ac23fe-47e" X-Cache-Status: MISS Accept-Ranges: bytes
$ curl -IXPURGE localhost/favicon.* HTTP/1.1 200 OK Server: nginx/1.11.10 Date: Wed, 22 Feb 2017 16:34:08 GMT Content-Type: text/html Content-Length: 214 Connection: keep-alive