Currently Nginx can block IP on application level and thus send a 403 forbidden message back to the client. I wonder if there's a way to block any request at the socket level, preferably not even sending a FIN message to the client but simply dropping the packet. Right now i'm using iptables but i'm really looking to have such feature on nginx itself, and if not supported right on current buildby arleybls - Nginx Mailing List - English
arleybls Wrote: ------------------------------------------------------- > Hello all, > > I need to profile nginx+own_module. I've being > trying to use gprof, but even tough compiling > along with --with-cc-opt="-pg" --with-ld-opt="-pg" > the gmon.out is not being generated. > > Any ideas? > > Cheers, > AB Nerve mind, runningby arleybls - Nginx Mailing List - English
Hello all, I need to profile nginx+own_module. I've being trying to use gprof, but even tough compiling along with --with-cc-opt="-pg" --with-ld-opt="-pg" the gmon.out is not being generated. Any ideas? Cheers, ABby arleybls - Nginx Mailing List - English
Ok, definitly there's something wrong going on here on the makefile(!?)... I did a quick helloworld.c and compiled along with the very same library with sucess: --------------------------------------------------------------------------- # ll total 4 -rwxr--r-- 1 root root 53 Apr 29 05:09 main.c # gcc main.c -L/usr/lib/mysql -lmysqlclient -o hellowithlib main.c: In function âmainâ: maby arleybls - Nginx Mailing List - English
Nope, 32bit Linux localhost.localdomain 2.6.18-238.5.1.el5.centos.plus #1 SMP Mon Apr 4 18:35:33 EDT 2011 i686 i686 i386 GNU/Linux :-(by arleybls - Nginx Mailing List - English
Hello JD, Thanks for the feedback. At the begging I was using the library directly from the mysql website, for that matter I indeed created amysal-client.cong file on etc/ld.so.conf.d/ and appended the /usr/local/lib to it (didnt work). Couple of tries later, installed the package yum mysal-devel and it created a sencond file point to its lib version, so basically right now this is what I hby arleybls - Nginx Mailing List - English
Hello Everyone, Tough I have moderate C programming skills, I.m kindy new to linux&nginx development, so please excuse any nub questions... Im having a problem linking mysql client libraries with nginx, libraries are there and were installed with yum on my centos 5.0 my config line looks like that CORE_LIBS="$CORE_LIBS -L/usr/lib/mysql -lmysqlclient" all libs looks fineby arleybls - Nginx Mailing List - English
Hello Everyone, New as well, looking forward to help and get help ... cheersby arleybls - New Member Introductions