hertz icon indicating copy to clipboard operation
hertz copied to clipboard

Go HTTP framework with high-performance and strong-extensibility for building micro-services.

Results 170 hertz issues
Sort by recently updated
recently updated
newest added

#### What type of PR is this? optimize #### Check the PR title. - [x] This PR title match the format: \(optional scope): \ - [x] The description of this...

**Describe the Question** The http Client custom retry function will have an exception when canIdempotentRetry is false? **Reproducible Code** ![image](https://github.com/cloudwego/hertz/assets/5662295/b8ffc2ae-730a-41f7-bcf3-5f4236b328f1) **Expected behavior** if canIdempotentRetry && client.DefaultRetryIf(req, resp, err) && errors.Is(err,...

NeedsInvestigation

Describe the Question windows下:Spin即使没有任何请求正在处理,server依然会等ExitWaitTimeout秒后退出 Reproducible Code ```go h := server.Default(server.WithHostPorts(":5653")) h.Spin() ``` 开启后直接ctrl+c,程序依然会等待。 看了下问题应该出在 github.com\cloudwego\hertz\pkg\network\standard\transport.go 112行。因为ubuntu下使用netpoll.transport,和standard.standard的Shutdown实现不一样,所以只在windows下存在问题。 参考net.http的shutdown实现,net.http.Server会记录所有客户端,Shutdown后有在ctx.Done前尝试去关闭全部客户端,如果客户端已经退出了,Shutdown就直接返回。hertz.Server似乎没有记下全部客户端,所以Shutdown硬等到ctx.Done, 这个实现应该是有瑕疵的 Hertz version: v0.6.6

enhancement
good first issue

#### What type of PR is this? feat #### Check the PR title. - [x] This PR title match the format: \(optional scope): \ - [x] The description of this...

**Describe the Question** How do I implement a Java servlet-like forward with the URL address unchanged? **Reproducible Code** ```go c.Redirect(consts.StatusFound, []byte("/test")) ``` **Expected behavior** Redirect jump, URL address remains unchanged...

question

#### What type of PR is this? feat #### Check the PR title. - [x] This PR title match the format: \(optional scope): \ - [x] The description of this...

WaitingForInfo

#### What type of PR is this? test #### Check the PR title. - [ ] This PR title match the format: \(optional scope): \ - [ ] The description...

**Describe the Question** I'm trying to use `hertz` framework with `https://github.com/pedia/endless` to allow zero downtime restart. There's an example to include Listener but I'm not sure how to use it...

enhancement
question

#### What type of PR is this? feat #### Check the PR title. - [ ] This PR title match the format: \(optional scope): \ - [ ] The description...

#### What type of PR is this? #### Check the PR title. - [x] This PR title match the format: \(optional scope): \ - [x] The description of this PR...