Add proxy_next_upstream_action to distinguish diffrient network actions

2014-01-14 Thread Shafreeck Sea
Hi all: The directive "proxy_next_upstream error timeout" takes effect on three network actions: connection, send and recieve. In practice ,we realy want to try next upstream according to in which actions we are. For example, I do not want to try next upstream if some error occurs or timed out whe

Re: Nginx-Clojure Module Release 0.1.0--Let Nginx embrace Clojure & Java

2014-01-14 Thread Roberto De Ioris
> With the default setting pipe is not used. > > Pipe is only used for enable jvm thread pool mode only when jvm_workers > > 0 > (jvm_workers default = 0). > > Further more pipe is never used to transfer the while request or response > message. > When under jvm thread pool mode, pipe is only use

Re: Nginx-Clojure Module Release 0.1.0--Let Nginx embrace Clojure & Java

2014-01-14 Thread xfeep
With the default setting pipe is not used. Pipe is only used for enable jvm thread pool mode only when jvm_workers > 0 (jvm_workers default = 0). Further more pipe is never used to transfer the while request or response message. When under jvm thread pool mode, pipe is only used to transfer a e

Re: Nginx-Clojure Module Release 0.1.0--Let Nginx embrace Clojure & Java

2014-01-14 Thread Roberto De Ioris
> May be somebody wonder what the differences between Nginx UWsig Module > and > Nginx Clojure Module when integrating JVM. > > They are quite different. Nginx Clojure Module embed JVM instance into the > Nginx Worker and they are in the same process and have the same memory > address space. > >

Re: Nginx-Clojure Module Release 0.1.0--Let Nginx embrace Clojure & Java

2014-01-14 Thread xfeep
May be somebody wonder what the differences between Nginx UWsig Module and Nginx Clojure Module when integrating JVM. They are quite different. Nginx Clojure Module embed JVM instance into the Nginx Worker and they are in the same process and have the same memory address space. There 's no IPC

Re: src/http/ngx_http_spdy_filter_module.c, latest changesets compiler warnings

2014-01-14 Thread Valentin V. Bartenev
On Tuesday 14 January 2014 17:36:23 itpp2012 wrote: > You missed 2, > > Line +-683: > if (offset) { > cl = ngx_http_spdy_filter_get_shadow(stream, in->buf, > // offset, size); >

Re: Websocket tunnel broken with existing SSL session

2014-01-14 Thread Maxim Dounin
Hello! On Tue, Jan 14, 2014 at 04:22:44PM +, Eiríkur Nilsson wrote: > We've been debugging this issue for 3 days now and even though we have a > temporary fix, we're still puzzled about it. > > There is an iOS app, which opens a websocket connection to our server over > SSL. Our server runs

Re: src/http/ngx_http_spdy_filter_module.c, latest changesets compiler warnings

2014-01-14 Thread itpp2012
You missed 2, Line +-683: if (offset) { cl = ngx_http_spdy_filter_get_shadow(stream, in->buf, // offset, size); (off_t) offset, (size_t) size); if (c

Re: PHP below server root not served

2014-01-14 Thread Francis Daly
On Sun, Jan 12, 2014 at 09:27:23PM +1100, nano wrote: > On 11/01/2014 2:34 AM, Francis Daly wrote: > >>On 10/01/2014 8:36 PM, Francis Daly wrote: > On 10/01/2014 7:58 AM, Francis Daly wrote: Hi there, > > location ^~ /phpmyadmin/ { > > location ~ \.php$ { > >>> > >>>At this poin

Re: src/http/ngx_http_spdy_filter_module.c, latest changesets compiler warnings

2014-01-14 Thread Valentin V. Bartenev
On Tuesday 14 January 2014 16:33:39 itpp2012 wrote: > VC 2010, 32bit mode. > Ok. Please, try a patch below: diff -r 439d05a037a3 src/http/ngx_http_spdy_filter_module.c --- a/src/http/ngx_http_spdy_filter_module.cWed Jan 15 01:44:52 2014 +0400 +++ b/src/http/ngx_http_spdy_filter_module.c

Re: src/http/ngx_http_spdy_filter_module.c, latest changesets compiler warnings

2014-01-14 Thread itpp2012
VC 2010, 32bit mode. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,246444,246446#msg-246446 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: src/http/ngx_http_spdy_filter_module.c, latest changesets compiler warnings

2014-01-14 Thread Valentin V. Bartenev
On Tuesday 14 January 2014 16:26:41 itpp2012 wrote: > src/http/ngx_http_spdy_filter_module.c, latest changesets compiler warnings > > In ngx_http_spdy_send_chain(ngx_connection_t *fc, ngx_chain_t *in, off_t > limit): > > src/http/ngx_http_spdy_filter_module.c(682) : warning C4244: 'function' : >

src/http/ngx_http_spdy_filter_module.c, latest changesets compiler warnings

2014-01-14 Thread itpp2012
src/http/ngx_http_spdy_filter_module.c, latest changesets compiler warnings In ngx_http_spdy_send_chain(ngx_connection_t *fc, ngx_chain_t *in, off_t limit): src/http/ngx_http_spdy_filter_module.c(682) : warning C4244: 'function' : conversion from 'off_t' to 'size_t', possible loss of data src/ht

Re: username mapping for imap/pop

2014-01-14 Thread bidwell
My nginx error.log shows the following: *5 upstream sent invalid response: "* CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH a1 OK t...@example.com Test User authenticated (Success)" while reading response from

Nginx-Clojure Module Release 0.1.0--Let Nginx embrace Clojure & Java

2014-01-14 Thread xfeep
Hi! Nginx-Clojure Module Release 0.1.0 was out several day ago! It is a module for embedding Clojure or Java programs, typically those Ring based handlers. It is an open source project hosted on Github, the site url is https://github.com/xfeep/nginx-clojure With it we can develope high perfo

Bounty for #416

2014-01-14 Thread Brian Davis
Like the ticket creator says in the description, always serving cached versions of pages would be extremely cool, so I wanted to let people know I just offered a $500 bounty for http://trac.nginx.org/nginx/ticket/416 at Bountysource. https://www.bountysource.com/issues/972735-proxy_cache_use_stale

Websocket tunnel broken with existing SSL session

2014-01-14 Thread Eiríkur Nilsson
We've been debugging this issue for 3 days now and even though we have a temporary fix, we're still puzzled about it. There is an iOS app, which opens a websocket connection to our server over SSL. Our server runs SmartOS and has nginx 1.5.0 (also happens on 1.4.1) proxying to a backend server run

Re: limit proxy_next_upstream

2014-01-14 Thread Xeron
Is there any update about this feature? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,238124,246431#msg-246431 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Does it possible to submit duplicated request with the proxy_next_upstream on

2014-01-14 Thread itpp2012
Unless the request is getting que'd while there is a short wait for host A to get online AND fail-over is also happening, its not likely to be added twice. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,245979,246388#msg-246388 ___ nginx mail

Re: Does it possible to submit duplicated request with the proxy_next_upstream on

2014-01-14 Thread Shafreeck Sea
Can any one help ? 2014/1/3 任勇全 > Hi all: > I am wondering if I set: > proxy_next_upstream error timeout; > Fox example , if the requested service is a counter , I issue the request > use the interface http://example.com/incr . The request is failed on my > first host A, then it is passed t