not_go18.go 410 B

123456789101112131415161718
  1. // Copyright 2016 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // +build !go1.8
  5. package http2
  6. import "net/http"
  7. func configureServer18(h1 *http.Server, h2 *Server) error {
  8. // No IdleTimeout to sync prior to Go 1.8.
  9. return nil
  10. }
  11. func shouldLogPanic(panicValue interface{}) bool {
  12. return panicValue != nil
  13. }