Client closed connection: 400 vs 499

2015-06-15 Thread Sorin Manole
Hello, It seems that if the client closes the connection during a requests there are time when the request is logged as 400 and other times as 499. Is there a reason for the difference? Serving of the error page cannot be it because the connection is closed anyway. Thanks. Examples of 400: http

Re: Nginx HSM integration for SSL termination

2015-06-15 Thread Maxim Dounin
Hello! On Mon, Jun 15, 2015 at 11:58:46AM +0530, gaurav gupta wrote: > Hello Folks, > > Currently we store ssl private keys in file on production servers. We are > looking to move SSL keys to HSM for security reasons so private key never > leave HSM. After heart bleed, I found lot of suggestions

Re: Client closed connection: 400 vs 499

2015-06-15 Thread Maxim Dounin
Hello! On Mon, Jun 15, 2015 at 11:20:15AM +0300, Sorin Manole wrote: > Hello, > > It seems that if the client closes the connection during a requests there > are time when the request is logged as 400 and other times as 499. > > Is there a reason for the difference? Serving of the error page ca

Re: Nginx HSM integration for SSL termination

2015-06-15 Thread gaurav gupta
Hello Maxim, Thanks for your prompt response. OpenSSL engine responsible for the behavior makes lot of sense. I am sorry since "pkey = ENGINE_load_private_key(engine, (char *) last, 0, 0);" confused me and made me assume that its getting loaded during startup. I am using engine_pkcs11 to integrat

[nginx] Updated OpenSSL used for win32 builds.

2015-06-15 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/07e416ece597 branches: changeset: 6182:07e416ece597 user: Maxim Dounin date: Mon Jun 15 20:20:12 2015 +0300 description: Updated OpenSSL used for win32 builds. diffstat: misc/GNUmakefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(

[nginx] Stream: the "proxy_bind" directive.

2015-06-15 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/4dcffe43a7ea branches: changeset: 6183:4dcffe43a7ea user: Vladimir Homutov date: Tue Jun 16 09:02:45 2015 +0300 description: Stream: the "proxy_bind" directive. diffstat: src/stream/ngx_stream_proxy_module.c | 57