danielgtaylor / danielgtaylor/huma
fmt.Println message: warning: unable to set write deadline
- Dominant language
- Go
- Stars
- 4.4k
- Forks
- 285
- Avg merge
- 40m
- Merged PRs (30d)
- 1
Description
Hi,
When using a chi router I get a fmt.Println message: warning: unable to set write deadline. I understand chi is not implementing this interface but only the go 1.22 router. It just a minor inconvenience but does this need to be logged?
Seems like a non issue and given we have a lot events for along time is noise in the logs file.
Sorry for my lack of knowledge is there any reason using chi vs. go 1.22+ router in huma? The tutorial is using chi are there any limitations e.g. middleware with the go standard router these days?
Thanks.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the warning while using Huma with a chi router, then compare the same request path with the Go 1.22 router. Trace where the write-deadline warning is emitted and determine whether the logging is expected; done means the issue has a confirmed cause and an agreed decision about the warning or router guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100