Flush buffers to prevent mixed output (Adam Back <adam@cypherspace.org>).
authorLutz Jänicke <jaenicke@openssl.org>
Tue, 16 Oct 2001 14:24:46 +0000 (14:24 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Tue, 16 Oct 2001 14:24:46 +0000 (14:24 +0000)
apps/s_client.c

index 7429a9b6410a64cd96b70678d7afbf8e7983bccf..2c9ae354627f71c9ad1d3d89b616e72b574bddca 100644 (file)
@@ -925,5 +925,7 @@ static void print_stuff(BIO *bio, SSL *s, int full)
        BIO_printf(bio,"---\n");
        if (peer != NULL)
                X509_free(peer);
        BIO_printf(bio,"---\n");
        if (peer != NULL)
                X509_free(peer);
+       /* flush, or debugging output gets mixed with http response */
+       BIO_flush(bio);
        }
 
        }