aboutsummaryrefslogtreecommitdiff
path: root/server.go
AgeCommit message (Expand)AuthorFilesLines
7 daysrefactor: do not return error as it is always nil (#1759)Gravatar Oleksandr Redko 1-7/+7
2024-03-25refactor: rename error local variables (#1738)Gravatar Oleksandr Redko 1-2/+2
2024-03-02Enable few gocritic checks; fix up issues (#1728)Gravatar Oleksandr Redko 1-1/+1
2024-02-21feat:support zstd compress and uncompressed (#1701)Gravatar Co1a 1-2/+7
2024-02-10Implement `GetRejectedConnectionsCount` function (#1704)Gravatar mopeneko 1-0/+10
2024-01-04Change empty string checks to be more idiomatic (#1684)Gravatar Oleksandr Redko 1-1/+1
2023-12-13chore: Add missing dots at the end of comments (#1677)Gravatar Oleksandr Redko 1-16/+19
2023-12-05chore: Set max line length to 130 characters (#1676)Gravatar Oleksandr Redko 1-6/+12
2023-12-02bug: Flush the write buffer before putting it to the pool (#1672)Gravatar Jille Timmermans 1-1/+1
2023-11-24chore: Use 'any' instead of 'interface{}' (#1666)Gravatar Oleksandr Redko 1-10/+10
2023-11-24Enable wastedassign, whitespace linters; fix issues (#1665)Gravatar Oleksandr Redko 1-6/+3
2023-10-06Don't put hijackConn structure back to the pool on Close if KeepHijackedConns...Gravatar Alexander Kolesov 1-3/+1
2023-08-30docs: fix typos in comments and testsGravatar Oleksandr Redko 1-1/+1
2023-08-29Enable gocritic linter; fix lint issues (#1612)Gravatar Oleksandr Redko 1-6/+8
2023-07-18fix:fasthttp server with tlsConfig (#1595)Gravatar Zhang Xiaopei 1-17/+14
2023-06-26Remove unnecessary indent blocks (#1586)Gravatar Oleksandr Redko 1-9/+6
2023-06-13Enable gofumpt linter; format code `gofumpt -w .` (#1576)v1.48.0Gravatar Oleksandr Redko 1-4/+2
2023-03-30get rid of some panics (#1526)Gravatar Moritz Poldrack 1-9/+8
2023-03-06test: fix typos in function, error message, comment (#1512)Gravatar Oleksandr Redko 1-1/+1
2023-02-13docs: Deprecate ErrAlreadyServing as never returning (#1491)Gravatar Oleksandr Redko 1-2/+1
2023-02-13docs: fix grammar issues and typos in comments (#1492)Gravatar Oleksandr Redko 1-8/+8
2023-02-11Refactor golangci-lint config and remove redundant nolints (#1486)Gravatar Oleksandr Redko 1-4/+4
2023-02-09doc,test: correct typos (#1484)Gravatar Oleksandr Redko 1-1/+1
2023-01-06server.go Simplify default Server name logic (#1467)Gravatar Sergey Ponomarev 1-25/+15
2022-12-25optimize: allow http head when use getonly (#1456)Gravatar kinggo 1-1/+1
2022-12-25feat: support custom formvalue function (#1453)Gravatar kinggo 1-14/+54
2022-12-18doc: optimize the comment of the Request.Done method (#1454)Gravatar kinggo 1-0/+6
2022-11-20feat: add ShutdownWithContext (#1383)v1.42.0Gravatar kinggo 1-4/+24
2022-11-18style: modify typo and remove repeated type conversions (#1437)Gravatar kinggo 1-1/+1
2022-11-15Assert with *net.TCPConn instead of *net.TCPListener in acceptConn() for TCP ...Gravatar Andy Pan 1-21/+15
2022-10-06make RequestCtx's userdata accept keys that are of type: interface{} (#1387)Gravatar pj 1-8/+18
2022-08-26Fix "use of closed network connection" error checkGravatar Erik Dubbelboer 1-11/+11
2022-08-23Fix(server): reset maxRequestBodySize to the server's config (#1360)Gravatar Geralt X Li 1-0/+6
2022-08-14Add Go 1.19 Support (#1355)v1.39.0Gravatar Aoang 1-46/+43
2022-06-28Close new connections after 5s in closeIdleConnsGravatar Erik Dubbelboer 1-8/+18
2022-06-20Consolidate TCPKeepalive in server.Serve (#1320) (#1324)Gravatar Y.Horie 1-50/+21
2022-06-05Response.ContentEncoding(): store as field and avoid using Header.SetCanonica...Gravatar Sergey Ponomarev 1-2/+2
2022-06-05Optimize server connection close logic (#1310)Gravatar Sergey Ponomarev 1-10/+8
2022-04-26Fix DoTimeout Streaming body bugv1.36.0Gravatar Erik Dubbelboer 1-0/+1
2022-04-01Use %v for errors and %q for strings (#1262)v1.35.0Gravatar Erik Dubbelboer 1-9/+9
2022-04-01Only set RequestCtx.s onceGravatar Erik Dubbelboer 1-1/+1
2022-04-01State active (#1260)Gravatar Erik Dubbelboer 1-8/+5
2022-03-20Add Go 1.18 support (#1253)Gravatar Aoang 1-4/+4
2022-03-04Don't reset RequestCtx.s (#1234)Gravatar Erik Dubbelboer 1-1/+6
2022-03-03Warn about unsafe ServeFile usage (#1228)Gravatar Erik Dubbelboer 1-0/+8
2022-02-20fix: (useless check), skip Response body if http method HEAD (#1224)Gravatar Pavel Burak 1-1/+1
2022-01-22fix(hijack): reuse RequestCtx (#1201)Gravatar Sergio VS 1-28/+44
2022-01-18fix(hijack): reset userValues after hijack handler execution (#1199)Gravatar Sergio VS 1-2/+4
2021-12-26Add MaxIdleWorkerDuration to Server. (#1183)Gravatar Kilos Liu 1-5/+10
2021-12-16fix: reset response after reset user values on keep-alive connections (#1176)Gravatar Sergio VS 1-5/+12