SSL Problems with 0.7.[78]

Steffen Weber nginx at steffenweber.net
Fri Aug 8 14:57:29 MSD 2008


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!

Steffen





More information about the nginx mailing list