Commit Graph

19 Commits (1ba1724c65cefcc26450502b5e38cc1c88f87304)

Author SHA1 Message Date
Kevin Wan 13cdbdc98b
chore: avoid nested WithCodeResponseWriter (#3406) 1 year ago
Kevin Wan 31b9ba19a2
chore: refactor httpx.TimeoutHandler (#3400) 1 year ago
扶桑花间 916cea858f
1. Fix w. (http. Flusher). Flush() error (#3388) 1 year ago
Kevin Wan 9f42eda9ff
fix: timeout handler not implementing http.Flusher (#3225) 2 years ago
Kevin Wan 14caf5c799
chore: simplify tests with logtest (#3184) 2 years ago
Kevin Wan 8d0cceb80c
chore: add more tests (#3084) 2 years ago
heyehang e06abf4f6f
fixbug:superfluous response.WriteHeader (#3083) 2 years ago
yangjinheng dbc8f9faca timeout writer add hijack 2 years ago
yangjinheng 96998ae570 Update timeouthandler.go 2 years ago
Kevin Wan ae87114282
chore: change interface{} to any (#2818)
* chore: change interface{} to any

* chore: update goctl version to 1.5.0

* chore: update goctl deps
2 years ago
heyehang a644ec7edd
feature : responses whit context (#2637) 2 years ago
Kevin Wan 92b450eb11
fix: ignore timeout on websocket (#1802) 3 years ago
Kevin Wan ba6a7c9dc8
chore: refactor rest/timeouthandler (#1415) 3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan 62266d8f91
fix #1070 (#1389)
* fix #1070

* test: add more tests
3 years ago
Kevin Wan cd289465fd
chore: coding style and comments (#1361)
* chore: coding style and comments

* chore: optimize `ParseJsonBody` (#1353)

* chore: optimize `ParseJsonBody`

* chore: optimize `ParseJsonBody`

* fix: fix a test

* chore: optimize `ParseJsonBody`

* fix a test

* chore: add comment

* chore: refactor

Co-authored-by: chenquan <chenquan.dev@foxmail.com>
3 years ago
Kevin Wan 4ba2ff7cdd
feat: treat client closed requests as code 499 (#1350)
* feat: treat client closed requests as code 499

* chore: add comments
3 years ago
Kevin Wan 54414db91d
fix golint issues, exported doc (#451) 4 years ago
kevin 0897f60c5d rename ngin to rest 4 years ago