]> git.sur5r.net Git - openldap/commitdiff
Don't drain after TLS failure.... causes busy forever loop
authorKurt Zeilenga <kurt@openldap.org>
Wed, 30 Aug 2000 22:08:19 +0000 (22:08 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 30 Aug 2000 22:08:19 +0000 (22:08 +0000)
servers/slapd/connection.c

index ecb3b69b70aeffd8267f7db59e3c732bef376e16..144482857b073678378febd3af26bf133fc9eeee 100644 (file)
@@ -909,6 +909,7 @@ int connection_read(ber_socket_t s)
                        /* connections_mutex and c_mutex are locked */
                        connection_closing( c );
 
+#if 0
                        /* Drain input before close, to allow SSL error codes
                         * to propagate to client. */
                        FD_ZERO(&rfd);
@@ -922,6 +923,7 @@ int connection_read(ber_socket_t s)
                                ber_sockbuf_ctrl( c->c_sb, LBER_SB_OPT_DRAIN,
                                    NULL);
                        }
+#endif
                        connection_close( c );
 
                } else if ( rc == 0 ) {