wangluozhe / requests-go

go版requests的python版本,支持tls,http2,ja3指纹自定义
MIT License
179 stars 47 forks source link

goroutine 2230477 [IO wait, 1 minutes]: #23

Open Lousm opened 10 months ago

Lousm commented 10 months ago

goroutine 2232169 [select]: github.com/wangluozhe/chttp.(persistConn).writeLoop(0xc00085e900) /root/go/pkg/mod/github.com/wangluozhe/chttp@v0.0.4/transport.go:2422 +0xe5 created by github.com/wangluozhe/chttp.(Transport).dialConn in goroutine 2232190 /root/go/pkg/mod/github.com/wangluozhe/chttp@v0.0.4/transport.go:1778 +0x16f1

goroutine 2232182 [IO wait]: internal/poll.runtime_pollWait(0x7f64ac080340, 0x72) /usr/local/go/src/runtime/netpoll.go:343 +0x85 internal/poll.(pollDesc).wait(0xc000a08100?, 0xc000838000?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(FD).Read(0xc000a08100, {0xc000838000, 0x1500, 0x1500}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x27a net.(netFD).Read(0xc000a08100, {0xc000838000?, 0xc00083800d?, 0x182?}) /usr/local/go/src/net/fd_posix.go:55 +0x25 net.(conn).Read(0xc00004e218, {0xc000838000?, 0x14f3?, 0xc000838005?}) /usr/local/go/src/net/net.go:179 +0x45 github.com/refraction-networking/utls.(atLeastReader).Read(0xc00029b938, {0xc000838000?, 0xc00029b938?, 0x0?}) /root/go/pkg/mod/github.com/refraction-networking/utls@v1.6.0/conn.go:807 +0x3b bytes.(Buffer).ReadFrom(0xc000a9bf00, {0x7f64add1f3c0, 0xc00029b938}) /usr/local/go/src/bytes/buffer.go:211 +0x98 github.com/refraction-networking/utls.(Conn).readFromUntil(0xc000a9bc00, {0x7f64add1f148?, 0xc00004e218}, 0x1500?) /root/go/pkg/mod/github.com/refraction-networking/utls@v1.6.0/conn.go:829 +0xde github.com/refraction-networking/utls.(Conn).readRecordOrCCS(0xc000a9bc00, 0x0) /root/go/pkg/mod/github.com/refraction-networking/utls@v1.6.0/conn.go:627 +0x250 github.com/refraction-networking/utls.(Conn).readRecord(...) /root/go/pkg/mod/github.com/refraction-networking/utls@v1.6.0/conn.go:589 github.com/refraction-networking/utls.(Conn).Read(0xc000a9bc00, {0xc000554000, 0x1000, 0xc000202340?}) /root/go/pkg/mod/github.com/refraction-networking/utls@v1.6.0/conn.go:1380 +0x158 github.com/wangluozhe/chttp.(persistConn).Read(0xc000d6cb40, {0xc000554000?, 0xc000a91500?, 0xc000256d38?}) /root/go/pkg/mod/github.com/wangluozhe/chttp@v0.0.4/transport.go:1955 +0x4a bufio.(Reader).fill(0xc000c94d20) /usr/local/go/src/bufio/bufio.go:113 +0x103 bufio.(Reader).Peek(0xc000c94d20, 0x1) /usr/local/go/src/bufio/bufio.go:151 +0x53 github.com/wangluozhe/chttp.(persistConn).readLoop(0xc000d6cb40) /root/go/pkg/mod/github.com/wangluozhe/chttp@v0.0.4/transport.go:2119 +0x1b9 created by github.com/wangluozhe/chttp.(Transport).dialConn in goroutine 2232238 /root/go/pkg/mod/github.com/wangluozhe/chttp@v0.0.4/transport.go:1777 +0x169f

请问这是一个什么问题呢?代买在运行了一周后出现的,中断了