atom feed14 messages in ru.sysoev.nginxRe: SSL Problems with 0.7.[78]
FromSent OnAttachments
Joshua SchmidlkoferAug 6, 2008 11:37 am 
Steffen WeberAug 7, 2008 4:45 am 
Aleksandar LazicAug 7, 2008 6:39 am 
Joshua SchmidlkoferAug 7, 2008 8:17 am 
Steffen WeberAug 7, 2008 10:05 am 
Steffen WeberAug 7, 2008 10:05 am 
Aleksandar LazicAug 7, 2008 12:19 pm 
Aleksandar LazicAug 7, 2008 12:31 pm 
jeff emmingerAug 7, 2008 12:49 pm 
Igor SysoevAug 7, 2008 10:28 pm 
Steffen WeberAug 8, 2008 3:57 am 
Igor SysoevAug 8, 2008 11:36 am.ssl
Steffen WeberAug 8, 2008 2:02 pm 
Kenneth KalmerAug 10, 2008 11:54 am 
Subject:Re: SSL Problems with 0.7.[78]
From:Steffen Weber (ngin@public.gmane.org)
Date:Aug 8, 2008 2:02:07 pm
List:ru.sysoev.nginx

Igor Sysoev wrote:

On Fri, Aug 08, 2008 at 12:57:29PM +0200, Steffen Weber wrote:

Igor Sysoev wrote:

On Thu, Aug 07, 2008 at 03:50:21PM -0400, jeff emminger wrote:

Wait there was a change in src/event/ngx_event_openssl.c

### diff -ru nginx-0.7.6/src/event/ngx_event_openssl.c nginx-0.7.7/src/event/ngx_event_openssl.c --- nginx-0.7.6/src/event/ngx_event_openssl.c 2008-06-20 16:42:54.000000000 +0200 +++ nginx-0.7.7/src/event/ngx_event_openssl.c 2008-07-30 08:12:30.000000000 +0200 @@ -505,6 +505,9 @@ if (n == 1) { + c->read->ready = 0; + c->write->ready = 1; + if (ngx_handle_read_event(c->read, 0) == NGX_ERROR) { return NGX_ERROR; } ###

Due the fact that I'am not so deep in the development, I don't know what happen when you remove tis ;-)

FYI, Looks like that was the patch from thread "IMAP/SSL issue" on Jul 29.

Yes, lines can be removed for HTTPS case to see whether they are the cause of problem.

After removing the two lines, the problem is gone on both servers!

OK, the attached patch should fix the bug.

Confirmed, thanks! :)

Steffen