Hey Maxim, > Ok, fair enough. Wouldn't something like this be better then > (untested)?
It would, originally I had pretty much the same patch, but for some reason I thought you'd like the one I send better. Tested and works fine. > --- a/src/os/unix/ngx_errno.h > +++ b/src/os/unix/ngx_errno.h > @@ -51,6 +51,7 @@ typedef int ngx_err_t; > #define NGX_ENOMOREFILES 0 > #define NGX_ELOOP ELOOP > #define NGX_EBADF EBADF > +#define NGX_EOPNOTSUPP EOPNOTSUPP Just a nitpick, but I believe that NGX_EOPNOTSUPP should be added between NGX_EINPROGRESS & NGX_EADDRINUSE, to keep the order the same as in system's errno.h. Best regards, Piotr Sikora _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel