7 messages in ru.sysoev.nginxRe: IMAP/SSL issue.
FromSent OnAttachments
Bryan AllenJul 28, 2008 9:16 pm 
Igor SysoevJul 29, 2008 2:00 am.solaris
Bryan AllenJul 29, 2008 8:57 am 
Igor SysoevJul 29, 2008 8:59 am 
Bryan AllenJul 29, 2008 9:38 am 
Igor SysoevJul 29, 2008 10:17 am.solaris1
Bryan AllenJul 29, 2008 12:13 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: IMAP/SSL issue.Actions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Jul 29, 2008 10:17:23 am
List:ru.sysoev.nginx
Attachments:
patch.ssl.solaris1 - 0.4k

On Tue, Jul 29, 2008 at 12:38:26PM -0400, Bryan Allen wrote:

+------------------------------------------------------------------------------ | On 2008-07-29 20:00:19, Igor Sysoev wrote: | | Could you send debug log to me ?

Just to ensure I'm not being stupid... nginx proxying IMAP-SSL is going to run cleartext to the auth backend, and then cleartext to the actual IMAP daemon, right? I've confirmed (I believe) through tracing the auth and IMAP daemons that they aren't getting any connections from nginx... so I'm not sure where it's hanging, exactly.

Yes, nginx speaks in clear text with both auth backend and IMAP backend.

Back out the previous patch and try the new one.

-- Igor Sysoev http://sysoev.ru/en/

Index: src/event/ngx_event_openssl.c =================================================================== --- src/event/ngx_event_openssl.c (revision 1440) +++ src/event/ngx_event_openssl.c (working copy) @@ -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; }