diff options
author | Oleksandr Redko <oleksandr.red+github@gmail.com> | 2023-02-13 04:44:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-13 10:44:47 +0800 |
commit | 9230a3dd7a778630e568ab4c0f7a5b4340ffa3ab (patch) | |
tree | d2c5ae7fe5f71f2d069c6b99710f32c58612e1e3 /server.go | |
parent | docs: fix grammar issues and typos in comments (#1492) (diff) | |
download | fasthttp-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.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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") ) |