-
- https://github.com/valyala/fasthttp
-
Httpexpect requires module `github.com/fasthttp/websocket v1.4.2`. But the version 1.4.2 has been re-uploaded by its author. This has introduced some failures while using httpexpect:
```bash
gith…
-
I edit iris test code from your example:
iris.go
``` go
func IrisHandler() fasthttp.RequestHandler {
iris.Post("/hello", func(ctx *iris.Context) {
ctx.SetStatusCode(iris.StatusOK)
…
-
**Describe the bug**
WebP Server will crash when ENABLE_AVIF is set to true
**To Reproduce**
Enable AVIF like this and visit any image file.
```
{
"HOST": "0.0.0.0",
"PORT": "3333",
"Q…
-
file:reverse-proxy.go
func (p *ReverseProxy) ServeHTTP(ctx *fasthttp.RequestCtx) {}
req.SetHost(c.Addr) should be changed to req.SetHost(string(req.Host()))
-
hi~
I write some simple code to check this issue.
fileserver.go
``` go
import (
"github.com/valyala/fasthttp"
)
func fileHandler() fasthttp.RequestHandler {
fs := &fasthttp.FS{
Roo…
-
My application is crashing randomly, about once or twice in an hour, with the following trace:
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segment…
-
### Question Description
I want to create a simple load balancer using Go. I have created a test version on my PC for HTTP using the examples on the https://docs.gofiber.io/api/middleware/proxy and…
-
This is not urgent in any way, but thought I would mention it, in my project I have this in my go.mod:
```
require (
github.com/veandco/go-sdl2 v0.4.24
github.com/vkngwrapper/core v1.0.5
githu…
-
Using go version 1.21.0, "make test" is failed.
```
$ git status
HEAD detached at deepmap/master
nothing to commit, working tree clean
$ git log | head
commit 5d1cceae130876e666916b06ef4801419…