From 14a6e4b4ed80cb732a82c56ddca880bec85b70d8 Mon Sep 17 00:00:00 2001
From: Matthew Holt <mholt@users.noreply.github.com>
Date: Tue, 30 Aug 2016 13:37:35 -0600
Subject: [PATCH] More minor text fixes

---
 ISSUE_TEMPLATE                 | 14 +++++++-------
 caddyhttp/httpserver/server.go |  3 ++-
 caddytls/maintain.go           |  1 +
 3 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/ISSUE_TEMPLATE b/ISSUE_TEMPLATE
index 44e2caa6b..6c0688fa5 100644
--- a/ISSUE_TEMPLATE
+++ b/ISSUE_TEMPLATE
@@ -1,24 +1,24 @@
 (Are you asking for help with using Caddy? Please use our forum instead: https://forum.caddyserver.com. If you are filing a bug report, please answer the following questions. If your issue is not a bug report, you do not need to use this template. Either way, please consider donating if we've helped you. Thanks!)
 
-#### 1. What version of Caddy are you running (`caddy -version`)?
+### 1. What version of Caddy are you running (`caddy -version`)?
 
 
-#### 2. What are you trying to do?
+### 2. What are you trying to do?
 
 
-#### 3. What is your entire Caddyfile?
+### 3. What is your entire Caddyfile?
 ```text
 (Put Caddyfile here)
 ```
 
-#### 4. How did you run Caddy (give the full command and describe the execution environment)?
+### 4. How did you run Caddy (give the full command and describe the execution environment)?
 
 
-#### 5. What did you expect to see?
+### 5. What did you expect to see?
 
 
-#### 6. What did you see instead (give full error messages and/or log)?
+### 6. What did you see instead (give full error messages and/or log)?
 
 
-#### 7. How can someone who is starting from scratch reproduce this behavior as minimally as possible?
+### 7. How can someone who is starting from scratch reproduce this behavior as minimally as possible?
 
diff --git a/caddyhttp/httpserver/server.go b/caddyhttp/httpserver/server.go
index f42804d6b..ad1a2cf2c 100644
--- a/caddyhttp/httpserver/server.go
+++ b/caddyhttp/httpserver/server.go
@@ -92,7 +92,8 @@ func NewServer(addr string, group []*SiteConfig) (*Server, error) {
 	if err != nil {
 		return nil, err
 	}
-	// Since Go 1.7 HTTP/2 is enabled only if TLSConfig.NextProtos includes the string "h2".
+
+	// As of Go 1.7, HTTP/2 is enabled only if NextProtos includes the string "h2"
 	if HTTP2 && s.Server.TLSConfig != nil && len(s.Server.TLSConfig.NextProtos) == 0 {
 		s.Server.TLSConfig.NextProtos = []string{"h2"}
 	}
diff --git a/caddytls/maintain.go b/caddytls/maintain.go
index f2251ebd4..aad41d5e4 100644
--- a/caddytls/maintain.go
+++ b/caddytls/maintain.go
@@ -129,6 +129,7 @@ func RenewManagedCertificates(allowPrompts bool) (err error) {
 
 	// Apply changes to the cache
 	for _, cert := range renewed {
+		// TODO: Don't do these until we have valid OCSP for the new cert
 		if cert.Names[len(cert.Names)-1] == "" {
 			// Special case: This is the default certificate. We must
 			// flush it out of the cache so that we no longer point to