Re: Looking for developer to fix a NginX test case module

2013-07-29 Thread Julien Zefi
hi Maxim, thanks so much for the code provided, i have merged that code in my module and it worked as expected!. Would you please send me the details to send you the money ? thanks On Fri, Jul 26, 2013 at 7:31 AM, Maxim Dounin wrote: > Hello! > > On Fri, Jul 26, 2013 at 12:05:11AM -0600, Juli

Re: Help with shared memory usage

2013-07-29 Thread Wandenberg Peixoto
Hello! I see your point, and I will split the patch to do both actions, on ngx_slab_free_pages() and on allocation when has a failure. What would be an alternative to not loop on pool->pages? Regards, Wandenberg On Mon, Jul 29, 2013 at 2:11 PM, Maxim Dounin wrote: > Hello! > > On Sat, Jul 2

Re: Help with shared memory usage

2013-07-29 Thread Maxim Dounin
Hello! On Sat, Jul 27, 2013 at 04:10:51PM -0300, Wandenberg Peixoto wrote: > Hello Maxim. > > I've been looking into those functions and guided by your comments > made the following patch to merge continuous block of memory. > Can you check if it is ok? > Comments are welcome. > > --- src/core/

Re: [PATCH] SO_REUSEPORT support for listen sockets

2013-07-29 Thread Maxim Dounin
Hello! On Sun, Jul 28, 2013 at 09:11:26PM +0800, Sepherosa Ziehau wrote: [...] > > 2) this feature should be disabled on DragonFly versions prior to the > > 740d1d9 commit, because it clearly wouldn't do any good there, > > On DragonFlyBSD, I could use a sysctl node to detect this feature. > Ho

[nginx] Perl: fixed syntax usage for C preprocessor directives.

2013-07-29 Thread Sergey Kandaurov
details: http://hg.nginx.org/nginx/rev/43900b822890 branches: changeset: 5306:43900b822890 user: Sergey Kandaurov date: Mon Jul 29 17:30:01 2013 +0400 description: Perl: fixed syntax usage for C preprocessor directives. As per perlxs, C preprocessor directives should be at the first

Re: when EPOLLIN and EPOLLOUT returned

2013-07-29 Thread Maxim Dounin
Hello! On Mon, Jul 29, 2013 at 02:29:54PM +0800, yurner...@gmail.com wrote: > Hi,all > I find it hard to understand in function ngx_epoll_process_events as > following. > if ((revents & (EPOLLERR|EPOLLHUP)) > && (revents & (EPOLLIN|EPOLLOUT)) == 0) > { >

[nginx] Upstream: reliably detect connection failures with SSL p...

2013-07-29 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/12b750d35162 branches: changeset: 5305:12b750d35162 user: Ruslan Ermilov date: Mon Jul 29 13:23:16 2013 +0400 description: Upstream: reliably detect connection failures with SSL peers. diffstat: src/http/ngx_http_upstream.c | 5 + 1 file

Re: [PATCH] SO_REUSEPORT support for listen sockets

2013-07-29 Thread Sepherosa Ziehau
Hi all, Sorry for the top post, here is the patch in the second around: http://leaf.dragonflybsd.org/~sephe/ngx_reuseport2.diff Addressed two problems based on feedbacks: - Condition the code directly operates on SO_REUSEPORT - Don't enable so_reuseport, if '-t' (i.e. ngx_test_config==1) is speci