Let's use text/plain in the example instead of crapy HTML.
authorRichard Levitte <levitte@openssl.org>
Fri, 28 Nov 2003 14:32:31 +0000 (14:32 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 28 Nov 2003 14:32:31 +0000 (14:32 +0000)
PR: 777
Submitted by: Michael Shields <mshields@sunblocksystems.com>

doc/crypto/BIO_f_ssl.pod

index a56ee2b92f2bae32ee0b498df4da6d03e29021d9..f0b731731f505a5940d534f813bc542964e71d3b 100644 (file)
@@ -287,8 +287,8 @@ a client and also echoes the request to standard output.
        return 0;
  }
 
        return 0;
  }
 
- BIO_puts(sbio, "HTTP/1.0 200 OK\r\nContent-type: text/html\r\n\r\n");
- BIO_puts(sbio, "<pre>\r\nConnection Established\r\nRequest headers:\r\n");
+ BIO_puts(sbio, "HTTP/1.0 200 OK\r\nContent-type: text/plain\r\n\r\n");
+ BIO_puts(sbio, "\r\nConnection Established\r\nRequest headers:\r\n");
  BIO_puts(sbio, "--------------------------------------------------\r\n");
 
  for(;;) {
  BIO_puts(sbio, "--------------------------------------------------\r\n");
 
  for(;;) {
@@ -301,7 +301,7 @@ a client and also echoes the request to standard output.
  }
 
  BIO_puts(sbio, "--------------------------------------------------\r\n");
  }
 
  BIO_puts(sbio, "--------------------------------------------------\r\n");
- BIO_puts(sbio, "</pre>\r\n");
+ BIO_puts(sbio, "\r\n");
 
  /* Since there is a buffering BIO present we had better flush it */
  BIO_flush(sbio);
 
  /* Since there is a buffering BIO present we had better flush it */
  BIO_flush(sbio);