aboutsummaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <oleksandr.red+github@gmail.com> 2023-02-13 04:44:47 +0200
committerGravatar GitHub <noreply@github.com> 2023-02-13 10:44:47 +0800
commit9230a3dd7a778630e568ab4c0f7a5b4340ffa3ab (patch)
treed2c5ae7fe5f71f2d069c6b99710f32c58612e1e3 /server.go
parentdocs: fix grammar issues and typos in comments (#1492) (diff)
downloadfasthttp-9230a3dd7a778630e568ab4c0f7a5b4340ffa3ab.tar.gz
fasthttp-9230a3dd7a778630e568ab4c0f7a5b4340ffa3ab.tar.bz2
fasthttp-9230a3dd7a778630e568ab4c0f7a5b4340ffa3ab.zip
docs: Deprecate ErrAlreadyServing as never returning (#1491)
Diffstat (limited to 'server.go')
-rw-r--r--server.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/server.go b/server.go
index 21883cd..141f8f1 100644
--- a/server.go
+++ b/server.go
@@ -20,8 +20,7 @@ import (
var errNoCertOrKeyProvided = errors.New("cert or key has not provided")
var (
- // ErrAlreadyServing is returned when calling Serve on a Server
- // that is already serving connections.
+ // Deprecated: ErrAlreadyServing is never returned from Serve. See issue #633.
ErrAlreadyServing = errors.New("Server is already serving connections")
)