Commit Graph

12 Commits

Author SHA1 Message Date
Kevin Wan
13cdbdc98b
chore: avoid nested WithCodeResponseWriter (#3406) 2023-07-11 15:59:43 +00:00
Kevin Wan
31b9ba19a2
chore: refactor httpx.TimeoutHandler (#3400) 2023-07-09 07:04:59 +00:00
扶桑花间
916cea858f
1. Fix w. (http. Flusher). Flush() error (#3388) 2023-07-05 15:27:15 +00:00
Kevin Wan
9f42eda9ff
fix: timeout handler not implementing http.Flusher (#3225) 2023-05-08 18:07:02 +08:00
Kevin Wan
14caf5c799
chore: simplify tests with logtest (#3184) 2023-04-29 20:36:29 +08:00
yangjinheng
dbc8f9faca timeout writer add hijack 2023-03-04 11:50:04 +00:00
Kevin Wan
05a5de7c6d
chore: fix lint errors (#2520) 2022-10-17 06:30:58 +08:00
Kevin Wan
d935c83a54
feat: support baggage propagation in httpc (#2375)
* feat: support baggage propagation in httpc

* chore: use go 1.16

* chore: use go 1.16

* chore: use go ^1.16

* chore: remove deprecated
2022-09-10 15:18:52 +08:00
Kevin Wan
2cdff97934
feat: use mongodb official driver instead of mgo (#1782)
* wip: backup

* wip: backup

* wip: backup

* backup

* backup

* backup

* add more tests

* fix wrong dependency

* fix lint errors

* remove test due to data race

* add tests

* fix test error

* add mon.Model

* add mon.Model unmarshal

* add monc

* add more tests for monc

* add more tests for monc

* add docs for mon and monc packages

* fix doc errors

* chhore: add comment

* chore: fix test bug

* chore: refine tests

* chore: remove primitive.NewObjectID in test code

* chore: rename test files for typo
2022-04-19 14:03:04 +08:00
Kevin Wan
92b450eb11
fix: ignore timeout on websocket (#1802) 2022-04-18 20:14:46 +08:00
Kevin Wan
4ba2ff7cdd
feat: treat client closed requests as code 499 (#1350)
* feat: treat client closed requests as code 499

* chore: add comments
2021-12-20 19:43:38 +08:00
kevin
0897f60c5d rename ngin to rest 2020-07-31 11:14:48 +08:00