JamesSunXX
JamesSunXX
panic: runtime error: slice bounds out of range [:333] with capacity 299 goroutine 4361379 [running]: bytes.(*Buffer).grow(0xc1acae3b00, 0xf) /var/jenkins_home/go/go1.17.9/src/bytes/buffer.go:148 +0x226 bytes.(*Buffer).Write(0xc1acae3b00, {0xc1acce4c90, 0xf, 0xc10482a9d0}) /var/jenkins_home/go/go1.17.9/src/bytes/buffer.go:172 +0x66 github.com/imroc/req/v3/internal/dump.(*Dumper).Dump(0xc1acb608e8, {0xc1acce4c90, 0xf, 0x10}) /root/go/pkg/mod/github.com/imroc/req/[email protected]/internal/dump/dump.go:138...
panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0xe pc=0x47410b] goroutine 168733876 [running]: bytes.(*Buffer).Write(0xc1ac22f470, {0xc1ac064780, 0x26, 0xc1d5dd67c8}) /var/jenkins_home/go/go1.17.9/src/bytes/buffer.go:174 +0xb5 github.com/imroc/req/v3/internal/dump.(*Dumper).Dump(0xc1abc59f38, {0xc1ac064780, 0x26, 0x30})...
``` local function send_mirror_request(premature, method, url, headers, body) local httpc = http.new() headers['dev-mirror'] = "1" local res, err = httpc:request_uri(url, { version = 1.1, method = method, headers = headers,...