36 Commits
Author SHA1 Message Date
Shelikhoo 3ef7feaeaf update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
Loyalsoldier dce8764fd7 Lint: fix lint (#1427)
* Lint: replace golint with revive
* Lint: fix lint
2021-11-27 17:16:41 +08:00
朱聖黎 (Zhu Sheng Li) 77b88171d6 fix: readRequest API changed since go1.17 (#1370)
fixed: #1265
2021-11-06 22:09:26 +08:00
Loyalsoldier f94dd11a8c Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
Loyalsoldier b68f943c78 Fix lint according to golangci-lint (#439) 2020-11-22 05:05:01 +08:00
loyalsoldier 784775f689 Refine code according to golangci-lint results 2020-10-11 19:22:46 +08:00
loyalsoldier b181045b0c Errorgen: support to run outside of GOPATH 2020-10-04 13:06:12 +08:00
loyalsoldier f12f76582f Fix according to staticcheck result
staticcheck repo: https://github.com/dominikh/go-tools/tree/master/cmd/staticcheck
2020-08-30 23:41:15 +08:00
Shelikhoo 221a13e658 Early detection of non http traffic to match web server behavior 2020-06-03 15:44:25 +08:00
Shelikhoo 087a62ef3d Fixed HTTP response not adjusted based on request 2020-06-03 15:16:03 +08:00
Darien Raymond f7b96507f9 simplify buffer extension 2018-11-02 21:34:04 +01:00
Darien Raymond 58e2ed3381 remove closure on ReadFullFrom 2018-11-02 15:01:33 +01:00
Darien Raymond 091fa6ad23 use new errorgen 2018-09-30 23:08:41 +02:00
Darien Raymond ebea255c74 eliminate partial writes 2018-07-28 15:03:40 +02:00
Darien Raymond 3997d13b97 rename Slice and Slice from to Resize and Advance 2018-04-19 23:48:38 +02:00
Darien Raymond 08dab81eb2 migrate int to int32 2018-04-02 20:00:50 +02:00
Darien Raymond d43a23aa96 move error generator to common 2017-12-03 01:04:57 +01:00
Darien Raymond b841042d0c refactor 2017-04-27 11:37:25 +02:00
Darien Raymond 999717ee28 release buffer on error 2017-04-27 11:29:44 +02:00
Darien Raymond 6a90ce3c43 comments 2017-04-21 15:36:05 +02:00
Darien Raymond 6d7aaa6535 bug fixes 2017-04-19 21:27:21 +02:00
Darien Raymond b1dfff2fdd remove 8k buffer pool 2017-04-15 21:19:21 +02:00
Darien Raymond f57260c358 refactor 2017-04-13 22:17:58 +02:00
Darien Raymond 35248497d2 refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond 289c467a12 remove unnecessary code 2017-01-13 13:47:44 +01:00
Darien Raymond db1c9131f0 global config creator 2017-01-12 22:47:10 +01:00
Darien Raymond aefa53f827 refine http header 2017-01-03 23:09:51 +01:00
Darien Raymond a4dfca0ef7 accommodate protobuf compiler change 2016-12-23 12:42:25 +01:00
Darien Raymond 0f0f01ddf6 return error when header too long 2016-12-19 12:16:57 +01:00
Darien Raymond 68164d46f9 limit max http header length 2016-12-16 17:01:47 +01:00
Darien Raymond 50bc195f7f rename TypedSettings to TypedMessage 2016-12-15 11:51:09 +01:00
Darien Raymond d6a6e0aaf8 send back http response on error 2016-12-14 12:25:22 +01:00
Darien Raymond eee23e6718 fix api usage 2016-12-11 21:43:16 +01:00
Darien Raymond 055023fdd5 refactor buffer 2016-12-09 12:08:25 +01:00
Darien Raymond 7a80409e30 rename alloc to buf 2016-12-09 11:35:27 +01:00
Darien Raymond 0917866f38 refine kcp header and security 2016-12-08 16:27:41 +01:00