IMAP/SSL issue.

Igor Sysoev is at rambler-co.ru
Tue Jul 29 21:17:46 MSD 2008


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/
-------------- next part --------------
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;
         }


More information about the nginx mailing list