aboutsummaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <oleksandr.red+github@gmail.com> 2023-02-09 10:29:28 +0200
committerGravatar GitHub <noreply@github.com> 2023-02-09 09:29:28 +0100
commitc0c5f9cd387c3b450ba24cbe364b44a65d9eb269 (patch)
tree3d321c0edf20a6789ef34cb494f59936ecc53caa /server.go
parentoptimized b2s function (#1483) (diff)
downloadfasthttp-c0c5f9cd387c3b450ba24cbe364b44a65d9eb269.tar.gz
fasthttp-c0c5f9cd387c3b450ba24cbe364b44a65d9eb269.tar.bz2
fasthttp-c0c5f9cd387c3b450ba24cbe364b44a65d9eb269.zip
doc,test: correct typos (#1484)
Diffstat (limited to 'server.go')
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.go b/server.go
index 9c879ac..63e39f6 100644
--- a/server.go
+++ b/server.go
@@ -1234,7 +1234,7 @@ func (ctx *RequestCtx) RemoteAddr() net.Addr {
// SetRemoteAddr sets remote address to the given value.
//
-// Set nil value to resore default behaviour for using
+// Set nil value to restore default behaviour for using
// connection remote address.
func (ctx *RequestCtx) SetRemoteAddr(remoteAddr net.Addr) {
ctx.remoteAddr = remoteAddr