nginx-mogilefs-module icon indicating copy to clipboard operation
nginx-mogilefs-module copied to clipboard

mogilefs fails to build with recent versions of nginx

Open jbergstroem opened this issue 9 years ago • 1 comments

Locking was removedin recent versions of nginx, generating a compile error:

ngx_http_mogilefs_module.c: In function 'ngx_http_mogilefs_handler':
nginx_mogilefs_module-1.0.4/ngx_http_mogilefs_module.c:320:12: error: 'ngx_peer_connection_t' has no member named 'lock'
     u->peer.lock = &r->connection->lock;
            ^
nginx_mogilefs_module-1.0.4/ngx_http_mogilefs_module.c:320:34: error: 'ngx_connection_t' has no member named 'lock'
     u->peer.lock = &r->connection->lock;

jbergstroem avatar Jun 26 '15 02:06 jbergstroem

Disable threads to get around this.

apalmblad avatar Jul 15 '16 02:07 apalmblad