[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Sun Mar 20 23:41:54 UTC 2016


The branch master has been updated
       via  8230f6c764f854190358cf40f0e7e7ca5647d8cd (commit)
      from  f3e5948af6a9b27aad9cd3224f67b6231da2f89f (commit)


- Log -----------------------------------------------------------------
commit 8230f6c764f854190358cf40f0e7e7ca5647d8cd
Author: Rich Salz <rsalz at openssl.org>
Date:   Sat Mar 19 12:40:02 2016 -0400

    GH886: CONNECT should use HTTP/1.1
    
    By default you get 0.9 which isn't widely available.
    But we use HTTP/1.0 for now.
    Courtesy beusink at users.github.com
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 apps/s_client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/s_client.c b/apps/s_client.c
index 1120377..6f22e6e 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -2072,7 +2072,7 @@ int s_client_main(int argc, char **argv)
             BIO *fbio = BIO_new(BIO_f_buffer());
 
             BIO_push(fbio, sbio);
-            BIO_printf(fbio, "CONNECT %s\r\n\r\n", connectstr);
+            BIO_printf(fbio, "CONNECT %s HTTP/1.0\r\n\r\n", connectstr);
             (void)BIO_flush(fbio);
             /* wait for multi-line response to end CONNECT response */
             do {


More information about the openssl-commits mailing list