nginx-mogilefs-module
nginx-mogilefs-module copied to clipboard
mogilefs fails to build with recent versions of nginx
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;
Disable threads to get around this.